Research Article

Attribute Index and Uniform Design Based Multiobjective Association Rule Mining with Evolutionary Algorithm

Pseudocode 3

Pseudocode of decoding.
decode(chrom): decode from chrom to generate the antecedent and the consequent.
Input: chrom indicates a chromosome.
Output: the antecedent and the consequent of an association rule.
 antecedent ;
 consequent ;
for  the th gene chrom( ) chrom
  if  chrom( ) = 1
   antecedent antecedent    ;
  end if
  if  chrom( ) = 2
   consequent antecedent    ;
  end if
end for
return  antecedent, consequent;