Research Article
Multiphase Simulated Annealing Based on Boltzmann and Bose-Einstein Distribution Applied to Protein Folding Problem
Algorithm 3
MQP pseudocode of MPSABBE algorithm.
(1) MQP Procedure( ) | (2) Begin | (3) //Setting section | (4) = Initial Temperature calculated by analytical method | (5) = Initial value, | (6) = initial value, = Initial value | (7) //Creation of initial solution | (8) = Create the initial solution, | (9) , | (10) Repeat //External Cycle | (11) Repeat //Internal Cycle (Metropolis Cycle) | (12) = Perturbation () //Uniform perturbation | (13) Difference = | (14) If Difference ≤ 0 Then | (15) | (16) | (17) elseif Then //Boltzmann Probability | (18) | (19) | (20) end if | (21) If then //save | (22) | (23) | (24) end if | (25) Until Metropolis Cycle is Finished | (26) = | (27) If very close to 0 Then | (28) = initial value | (29) end if | (30) | (31) Until > //External Cycle | (32) End procedure |
|