Class StringBDDSolver
- java.lang.Object
 - 
- net.automatalib.modelchecker.m3c.solver.BDDSolver<String,String>
 - 
- net.automatalib.modelchecker.m3c.solver.StringBDDSolver
 
 
 
- 
- All Implemented Interfaces:
 M3CSolver<String>,ModelChecker<String,ContextFreeModalProcessSystem<String,String>,FormulaNode<String,String>,WitnessTree<String,String>>
public class StringBDDSolver extends BDDSolver<String,String> implements M3CSolver<String>
ABDD solverfor generic, string-based formulas. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface net.automatalib.modelchecker.m3c.solver.M3CSolver
M3CSolver.TypedM3CSolver<F> 
- 
Nested classes/interfaces inherited from interface net.automatalib.modelchecking.ModelChecker
ModelChecker.DFAModelChecker<I,P,R>, ModelChecker.MealyModelChecker<I,O,P,R> 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable WitnessTree<L,AP>findCounterExample(ContextFreeModalProcessSystem<L,AP> cfmps, Collection<? extends L> inputs, FormulaNode<L,AP> formulaNode)Try to find counter examples for the givenpropertyandautomaton.booleansolve(String formula)Checks whether the given formula is satisfied.booleansolve(FormulaNode<L,AP> formula)SolverHistory<T,L,AP>solveAndRecordHistory(FormulaNode<L,AP> formula)- 
Methods inherited from class net.automatalib.modelchecker.m3c.solver.BDDSolver
createInitTransformerEdge, createInitTransformerEndNode, createInitTransformerNode, getSerializer, initDDManager, shutdownDDManager 
 - 
 
 - 
 
- 
- 
Method Detail
- 
solve
public boolean solve(String formula) throws ParseException
Description copied from interface:M3CSolverChecks whether the given formula is satisfied.- Specified by:
 solvein interfaceM3CSolver<String>- Parameters:
 formula- the formula whose satisfiability should be checked- Returns:
 trueif the formula is satisfied,falseotherwise.- Throws:
 ParseException- when the given formula object cannot be parsed
 
- 
findCounterExample
public @Nullable WitnessTree<L,AP> findCounterExample(ContextFreeModalProcessSystem<L,AP> cfmps, Collection<? extends L> inputs, FormulaNode<L,AP> formulaNode)
Description copied from interface:ModelCheckerTry to find counter examples for the givenpropertyandautomaton.- Specified by:
 findCounterExamplein interfaceModelChecker<L,ContextFreeModalProcessSystem<L,AP>,FormulaNode<L,AP>,WitnessTree<L,AP>>- Parameters:
 cfmps- the automaton to check the property on.inputs- the alphabet.formulaNode- the property.- Returns:
 - the counter examples, or 
nullif no counter examples exist. 
 
- 
solve
public boolean solve(FormulaNode<L,AP> formula)
 
- 
solveAndRecordHistory
public SolverHistory<T,L,AP> solveAndRecordHistory(FormulaNode<L,AP> formula)
 
 - 
 
 -