pub fn enumerate_models_for_formula(
formula: EncodedFormula,
f: &FormulaFactory,
) -> Vec<Model>
Expand description
Enumerates all models of a formula and returns it as a vector.
The default configuration is used.
Make sure that all models of the formulas fit into your memory. The default configuration does not limit the number of models and the algorithm will continue until there are no more models left.
ยงExample
Basic usage:
let f = FormulaFactory::new();
let formula = "A <=> B".to_formula(&f);
let models = enumerate_models_for_formula(formula, &f);