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... | |
Very simple simulation, only efficient for small circuits.
1.8.3.1