Research Article
Attribute Index and Uniform Design Based Multiobjective Association Rule Mining with Evolutionary Algorithm
Pseudocode 4
Pseudocode of the initialization.
population initialize(,) | Input: indicates the size of the population; indicates the number | of the attributes in the database. | Output: an -by- integer matrix indicates the initial population. | pop ; indiv ; | while sizeof(pop) < | while sizeof(indiv) < | temp generate a random integer whose value is 0, 1, or 2; | indiv = indiv ∪ temp; | end while | if isvalid(indiv) | pop = pop ∪ indiv; | end if | end while | return pop; |
|