Skip to main content
. 2021 Jan 28;12(2):191. doi: 10.3390/genes12020191
Algorithm 1. EpiMOGA pseudocode
Input:
Num: the number of the initial population, positive integers greater than 1
X: m × n matrix consisted of 0 and 1, representing the states of m samples at n SNP sites.
Y: 1 × m vector consisted of 0 and 1, representing the state of m samples.
Maxtimes:Maximum number of iterations
Output: Best: the set of optimal SNP combinations
01: begin
02: For i = 1:Num
03:  Initial population_i
04:  Evaluate population:fitvalue⬅Twoobjection(population_i,X,Y)
05:   while (generation <Maxtimes)
06:   Selection
07:   Crossover
08:   Mutation
09:   Evaluate population
09:   Output candidate chromosome
10:  end
11: end
11: Merge candidate set
12: Evaluate candidate set
13: Output Best⬅best SNP combinations
14: end