transistor_costs Struct Reference

Calculates the transistor costs. More...

List of all members.

Public Member Functions

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

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

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

Returns the transistor costs for gate g.

Parameters:
g Gate
lines Number 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 Fri Jul 2 07:50:42 2010 for by doxygen 1.6.3