at.jku.risc.stout.hoau.algo
public class AntiUnifySystem extends Object
Constructor and Description |
---|
AntiUnifySystem(EquationSystem<AntiUnifyProblem> problemSet,
Substitution sigma)
Creates and initializes the rule based system.
|
Modifier and Type | Method and Description |
---|---|
void |
compute()
Computes the result silently.
|
void |
compute(DebugLevel debugLevel,
PrintStream debugOut)
Computes the result and prints progress information to
PrintStream according to DebugLevel.
|
EquationSystem<AntiUnifyProblem> |
getProblemSet()
Returns the problem set which is empty after compute()
succeeded.
|
Substitution |
getSigma()
The substitution sigma contains the generalization after
compute() succeeded.
|
List<AntiUnifyProblem> |
getStore()
Returns the store where all the disagreements are stored during the
computation.
|
String |
toString() |
public AntiUnifySystem(EquationSystem<AntiUnifyProblem> problemSet, Substitution sigma) throws NotNormalizableException
NotNormalizableException
public void compute() throws NotNormalizableException
NotNormalizableException
public void compute(DebugLevel debugLevel, PrintStream debugOut) throws NotNormalizableException
NotNormalizableException
public EquationSystem<AntiUnifyProblem> getProblemSet()
public Substitution getSigma()
public List<AntiUnifyProblem> getStore()