Research Article
Agricultural Model for Allocation of Crops Using Pollination Intelligence Method
Algorithm 1
Flower Pollinated Algorithm by Yang [
15].
| | Minimize, | | | Initialize a population of n flowers/pollen gametes with random solutions | | | Find the best solutionin the initial population | | | Define a switch probability | | | Define a stopping criterion | | | while | | | i = 1 : n (all n flowers in the population) | | | if, | | | Draw a (d-dimensional) step vector L which obeys a Lévy distribution | | | Global pollination via | | | else | | | Drawfrom a uniform distribution in [0, 1] | | | Do local pollination via | | | end if | | | Evaluate new solutions | | | If new solutions are better, update them in the population | | | end for | | | Find the current best solution | | | end while | | | Output the best solution found |
|