List of all members | Public Member Functions
transistor_costs Struct Reference

Calculates the transistor costs. More...

Public Member Functions

cost_t operator() (const gate &g, unsigned lines) const
 Returns the transistor costs for gate g. More...
 

Detailed Description

Calculates the transistor costs.

This class calculates the so called transistor costs for a gate. They are the number of control lines multiplied by 8.

See Also
Cost Functions
Author
RevKit
Since
1.0

Member Function Documentation

cost_t operator() ( const gate g,
unsigned  lines 
) const

Returns the transistor costs for gate g.

Parameters
gGate
linesNumber of lines in the circuit
Returns
Transistor Costs for gate g
Author
RevKit
Since
1.0

The documentation for this struct was generated from the following file:

Generated on Tue Apr 16 2013 08:12:02 for RevKit by doxygen 1.8.3.1