Calculates the transistor costs. More...
Public Member Functions | |
unsigned | operator() (const gate &g, unsigned lines) const |
Returns the transistor costs for gate g . |
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.
unsigned operator() | ( | const gate & | g, | |
unsigned | lines | |||
) | const |
Returns the transistor costs for gate g
.
g | Gate | |
lines | Number of lines in the circuit |
g