Base version with linear combinated classes
This commit is contained in:
@@ -76,6 +76,10 @@ class Function {
|
||||
return _function_values == other._function_values;
|
||||
}
|
||||
|
||||
STORAGE at(STORAGE index) const {
|
||||
return (_function_values >> index) % 2;
|
||||
}
|
||||
|
||||
Function var_negation(STORAGE var_index) {
|
||||
// var_index should be in 1..VARS_COUNT
|
||||
STORAGE mask, remains, shift;
|
||||
|
||||
Reference in New Issue
Block a user