Research Article

A Quasiphysics Intelligent Model for a Long Range Fast Tool Servo

Algorithm 1

The framework of the OSaRDE.
Parameters:
  (i) NP: Population size;
  (ii) F: Scaling factor;
  (iii) CR: Crossover control parameter;
  (iv) : The specified number of generations from when the replacement operation begins;
  (v) : The period during two replacement operations;
  (vi) G: The number of maximum generations.
Step 1. Initialization:
  S 1.1. Set the low and up boundaries of the searching space , ;
  S 1.2. Randomly sample NP vectors , from B;
  S 1.3. Evaluate the fitness values of these individuals.
Step 2.for , do:
  S 2.1. Mutation operation:
    Generate a mutant vector via (16).
  S 2.2. Crossover operation:
    Execute the crossover operation to generate a trail vector via (16).
  S 2.3. Constraint repair:
    if is not feasible (i.e. it is not in B), make it feasible via (26).
  S 2.4. Selection operation:
    S 2.4.1 if , set , ;
        else, set , .
    S 2.4.2 set , , .
  S 2.5. Replacement operation:
     if and and == ceil( ), do
      if , ;
         ; else .
  end for
Step 3. Output and .