next up previous contents
Next: The critical path retrieving Up: Code implementation Previous: The class EvaluationAlgorithm   Contents

The class OptimizationAlgorithm

The public and protected interface of this class are:


\begin{listingcont}
class OptimizationAlgorithm
{
private:
...
protected:
unsi...
...Width( unsigned int index ) const
{return Width[ index ];
};
\end{listingcont}

This class provides the method Run() that invokes the real algorithm, and the method SimulateCircuit(...) that performs the function evaluations by means of the instance EvaluationAlgorithm& Simulation:
simply every time that the algorithm needs to perform a function evaluation with new dimensions, it invokes the public method
Simulation.Run(...), passing to it the new dimensions. It provides also the methods to return the optimization steps and the final optimized widths.

The combination of all the functions returned by Simulation.Run(...) (all the critical path delays, all the power consumptions, §5.2.3, page [*]) is performed by the method NormSim(...).



marco+site@equars.com