gate_costs Struct Reference

Calculates the gate costs. More...

List of all members.

Public Member Functions

unsigned operator() (const circuit &circ) const
 Returns the number of gates.

Detailed Description

Calculates the gate costs.

This costs class is basically a wrapper around num_gates() and is given for convenience use with other cost functions.

See also:
Cost Functions
Author:
RevKit
Since:
1.0

Member Function Documentation

unsigned operator() ( const circuit circ  )  const

Returns the number of gates.

Parameters:
circ Circuit
Returns:
Number of gates
Author:
RevKit
Since:
1.0

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

Generated on Tue Dec 21 2010 21:52:13 for RevKit by doxygen 1.7.1