Classes | Namespaces | Typedefs | Functions
costs.hpp File Reference

Cost calculation for circuits. More...

Classes

struct  gate_costs
 Calculates the gate costs. More...
 
struct  line_costs
 Calculates the line costs. More...
 
struct  quantum_costs
 Calculates the quantum costs. More...
 
struct  transistor_costs
 Calculates the transistor costs. More...
 

Namespaces

namespace  revkit
 Main namespace.
 

Typedefs

typedef unsigned long long cost_t
 Type for costs. More...
 
typedef boost::function
< cost_t(const circuit &circ)> 
costs_by_circuit_func
 Functor for cost function measured by the whole circuit. More...
 
typedef boost::function
< cost_t(const gate &gate,
unsigned lines)> 
costs_by_gate_func
 Functor for cost function measured by each gate. More...
 
typedef boost::variant
< costs_by_circuit_func,
costs_by_gate_func > 
cost_function
 Cost Function type. More...
 

Functions

cost_t costs (const circuit &circ, const cost_function &f)
 Calculates the costs of a circuit by a given cost function. More...
 

Detailed Description

Cost calculation for circuits.


Generated on Tue Apr 16 2013 08:12:02 for RevKit by doxygen 1.8.3.1