Research Article

Flexible-Robotic Reflector for Aerospace Applications

Algorithm 2

A generic algorithm for searching a maximal configuration vector.
Result: Optimal Configuration Vector for the sub-reflector
(1) initialization Let , ;
(2) Let be an empty graph over the configuration space;
(3) Add and a set of random vertices to (each representing a valid configuration vector);
(4) while    do
(5)  Perform graduate decent for ;
(6)  if    then
(7)  ;
(8)  end
(9)  Randomly choose a vertex () from ;
(10) Perform a random maneuver from to ;
(11)  Store the optimal vertex ;
(12) Add to . Let be ;
(13) if  ( is too low) then
(14) remove it from .;
(15) end
(16) if (most vertices in were already visited) then
(17) add a new random Vertex to ;
(18) end
(19) end
(20) return