Skip to main content
Fig. 5 | Applied Network Science

Fig. 5

From: Optimal structure of groups under exposure to fake news

Fig. 5

The flowchart of the a genetic algorithm and b the routine assigning a fitness value for each chromosome. a Genetic algorithms – a popular and widely applied optimization approach – are designed to optimise a population of chromosomes with respect to a pre-defined fitness function. b A crucial part of all genetic algorithms is the way a fitness value is assigned to a chromosome: the input of this function is an instance of chromosome (A and B matrices) and the output is the corresponding fitness value measuring the "quality" of the input. The first two decision boxes (diamond shapes) stand for two for-loops, while the second two decision boxes stand for two if-statements

Back to article page