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... | |
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.
Returns the transistor costs for gate g
.
g | Gate |
lines | Number of lines in the circuit |
g