Research Article
A New Discrete Grid-Based Bacterial Foraging Optimizer to Solve Complex Influence Maximization of Social Networks
Algorithm 2
Novel chemotaxis process.
| (1) | For each bacterium in the population | | (2) | Calculate the fitness of each bacterium. | | (3) | Tumble: generate a vector by equation (7). Transform the chemotactic direction vector into probability by equations (8) and (9). | | (5) | Swim: continue to change the node in the probability by equation (10) until the new probability does not dissatisfy the criteria of equation (10). | | (6) | End |
|