Research Article

Wavelet-Based Feature Extraction in Fault Diagnosis for Biquad High-Pass Filter Circuit

Pseudocode 1

Pseudocode of clone selection classification algorithm.
Input:   Ag, MaxGen, , n, β, d, r
Output:    the best antibody in memory cell set
Initialize    the population ( antibodies A)
for = 1 to MaxGen
= Evaluate(A, Ag);       //evaluate all antibodies in population
 A = Selete();         //select (n < ) antibodies with higher affinity
 A = Clone(A, β);       //generate clone population
 A = Mutation(A);        //generate mutated clone population based on
= Evaluate(A, Ag);      //re-evaluate antibodies in population
 //re-select r best antibodies becoming memory cell set
 //and replace r worst antibodies in population with
 A = Reselete(A, , A);
 A = Generate(d);        //generate d new random antibodies
 A = Replace(A, , A);    //replace d low-affinity antibodies in with A
end