Re-synthesis optimization (Wrapper for window_optimization). More...
Public Member Functions | |
resynthesis_optimization () | |
Standard constructor. | |
bool | operator() (circuit &new_window, const circuit &old_window) const |
Functor which wraps the re-synthesis algorithm as an optimization algorithm. | |
Public Attributes | |
truth_table_synthesis_func | synthesis |
Synthesis method to re-synthesize the circuit. | |
simulation_func | simulation |
Simulation method for creating the truth table. |
Re-synthesis optimization (Wrapper for window_optimization).
This functor is a wrapper to perform re-synthesis as a optimization function. Therefore, the base circuit is simulated to get the truth table and this truth table is synthesized using a synthesis algorithm given by the parameter synthesis
.
Standard constructor.
Initializes default values
Functor which wraps the re-synthesis algorithm as an optimization algorithm.
The signature matches the signature of revkit::optimization_func.
new_window | New window to be created | |
old_window | Original window |
Simulation method for creating the truth table.
Default value is revkit::simple_simulation_func
Synthesis method to re-synthesize the circuit.
Default value is revkit::transformation_based_synthesis_func