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

Very simple simulation, only efficient for small circuits. More...

Classes

struct  core_gate_simulation
 A gate simulation implementation of gate_simulation_func. More...
 

Namespaces

namespace  revkit
 Main namespace.
 

Typedefs

typedef boost::function
< boost::dynamic_bitset
<> &(const gate
&, boost::dynamic_bitset<> &)> 
gate_simulation_func
 Functor for gate-wise simulation, used as a setting for simple_simulation. More...
 
typedef boost::function< void(const
gate &, const
boost::dynamic_bitset<> &)> 
step_result_func
 Functor which is called after a step result is calculated. More...
 

Functions

bool simple_simulation (boost::dynamic_bitset<> &output, const gate &g, const boost::dynamic_bitset<> &input, properties::ptr settings=properties::ptr(), properties::ptr statistics=properties::ptr())
 Simple Simulation function for a single gate. More...
 
bool simple_simulation (boost::dynamic_bitset<> &output, circuit::const_iterator first, circuit::const_iterator last, const boost::dynamic_bitset<> &input, properties::ptr settings=properties::ptr(), properties::ptr statistics=properties::ptr())
 Simple Simulation function for a range of gates. More...
 
bool simple_simulation (boost::dynamic_bitset<> &output, const circuit &circ, const boost::dynamic_bitset<> &input, properties::ptr settings=properties::ptr(), properties::ptr statistics=properties::ptr())
 Simple Simulation function for a circuit. More...
 
simulation_func simple_simulation_func (properties::ptr settings=properties::ptr(new properties()), properties::ptr statistics=properties::ptr(new properties()))
 Functor for the simple_simulation algorithm. More...
 

Detailed Description

Very simple simulation, only efficient for small circuits.


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