next up previous contents
Next: The class OptimizationAlgorithm Up: Code implementation Previous: The classes CircuitNetlist and   Contents

The class EvaluationAlgorithm

The public and protected interface of this class are:


\begin{listingcont}
class EvaluationAlgorithm
{
private:
protected:
const CritP...
...return Area; }
unsigned int GetNPath() { return NumPath; }
};
\end{listingcont}

The main method is
Run( const Circuit& circuit, const double *NewWidth, ...)
that performs the real simulation of circuit with the new dimensions NewWidth. The other methods return the delay, power and area of the circuit with the new dimensions, the total number of calls to simulator, and the number of critical path in the circuit. It contains vectors of all the delays and power of all critical paths, an instance of a class Options that contains all the options of the tool, and an instance of the class CritPathList that contains all the critical paths of the circuit.



marco+site@equars.com