Research Article
A New Manufacturing Service Selection and Composition Method Using Improved Flower Pollination Algorithm
Pseudocode 1
Pseudocode of improved FPA.
(1) Initialize | Objective | Set parameters: population size , maximum iterations and | Randomly generate an initial population of flowers | (2) Repeat to | while | Find the best individual in current population | Divide the whole population into three grous | Define a switch probability via | for | if | Generate a step size | Define a scaling factor via | Generate a step size that obeys a Levy distribution | Do global pollination via | else | Do local pollination via | Execute crossover operation and find out | end if | Evaluate new individual | If new individual is better, update its location | end for | Carry out elite replacement strategy | Combine these three groups into one population | Update the best individual | end while | (3) Output | Output the best individual |
|