Public Member Functions

transistor_costs Struct Reference

Calculates the transistor costs. More...

List of all members.

Public Member Functions

cost_t 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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed May 25 2011 16:34:52 for RevKit by doxygen 1.7.3