Cubes reordering strategy as proposed in [FTR07]. More...
Public Member Functions | |
weighted_reordering () | |
Standard constructor. More... | |
weighted_reordering (float alpha, float beta) | |
Constructor for adjusting the parameters. More... | |
void | operator() (std::vector< std::pair< binary_truth_table::cube_type, binary_truth_table::cube_type > > &cubes) const |
Functor operator implementation. More... | |
Public Attributes | |
float | alpha |
Control variable for the weight of the variable frequency term. More... | |
float | beta |
Control variable for the weight of the balanced variable term. More... | |
Cubes reordering strategy as proposed in [FTR07].
This functor implements the reordering strategy as proposed in [FTR07]. In that strategy two variables alpha
and beta
are used to control the weight of variables by their appearance and their polarity, respectively.
Standard constructor.
Initializes default values
weighted_reordering | ( | float | alpha, |
float | beta | ||
) |
Constructor for adjusting the parameters.
In this parameters the values for alpha
and beta
can be set directly.
alpha | Control variable for the weight of the variable frequency term |
beta | Control variable for the weight of the balanced variable term |
void operator() | ( | std::vector< std::pair< binary_truth_table::cube_type, binary_truth_table::cube_type > > & | cubes | ) | const |
Functor operator implementation.
cubes | Cubes to be reordered |
float alpha |
Control variable for the weight of the variable frequency term.
Default value is 0.5
float beta |
Control variable for the weight of the balanced variable term.
Default value is 0.5