public class InequalitySystemSolver
extends java.lang.Object
| Constructor and Description |
|---|
InequalitySystemSolver()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InequalitySystemSolver |
assertDisjunction(InequalitySystem... disjunction)
Assert a new set of inequality systems.
|
java.util.List<java.math.BigInteger> |
findSolution()
Calculate a solution to the conjunction of disjunctions that were added to this solver.
|
InequalitySystemSolver |
pop()
Pop the last disjunction that was added from the solver context.
|
InequalitySystemSolver |
push()
Push the current solver state onto a stack.
|
public InequalitySystemSolver()
public InequalitySystemSolver assertDisjunction(InequalitySystem... disjunction)
{ A, B } where A and B are inequality systems, this adds the
requirement that either A or B have to be satisfied to solutions.disjunction - Contains a disjunction of inequality systems.public InequalitySystemSolver push()
pop().public InequalitySystemSolver pop()
push().public java.util.List<java.math.BigInteger> findSolution()