public class FuzzyAllenIntervalNetworkSolver extends ConstraintSolver
ConstraintSolver implements a fuzzified version of Allen's path consistency
algorithm, as well as search procedure to extract the optimal solution of a fuzzy temporal
CSP.ConstraintSolver.OPTIONSautoprop, components, constraintTypes, logger, name, nesting, noPropOnVarCreation, numcalls, skipPropagation, spacing, theNetwork, variableType| Constructor and Description |
|---|
FuzzyAllenIntervalNetworkSolver()
Creates a new
FuzzyAllenIntervalNetworkSolver. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addConstraintsSub(Constraint[] c)
This method must be implemented by the developer of the specific
ConstraintSolver
class. |
protected Variable[] |
createVariablesSub(int num)
This method must be implemented by the developer of the specific
ConstraintSolver
class. |
double |
getPosibilityDegree()
Get the upper bound of the possibility degree of this solver's
ConstraintNetwork. |
boolean |
propagate()
Propagate the constraint network.
|
void |
registerValueChoiceFunctions() |
protected void |
removeConstraintsSub(Constraint[] c)
This method must be implemented by the developer of the specific
ConstraintSolver
class. |
protected void |
removeVariablesSub(Variable[] v)
This method must be implemented by the developer of the specific
ConstraintSolver
class. |
void |
setCrispCons(Constraint[] crispCons)
Sets the given
FuzzyAllenIntervalConstraints to be considered as crisp
(meaning that the desired possibility degrees of the constraint should
not change, and the possibility degrees of all other relation types should be 0). |
void |
setVarOfSubGraph(java.util.Vector<FuzzyActivity> fas)
IRAN: please comment this.
|
addConstraint, addConstraintNoPropagation, addConstraints, addConstraintsDebug, addConstraintsNoPropagation, containsVariable, createVariable, createVariable, createVariables, createVariables, createVariablesSub, deplenish, getComponent, getComponents, getConstraintNetwork, getConstraints, getConstraints, getDescription, getID, getOption, getVariable, getVariables, getVariables, getVariables, isCompatible, maskConstraints, removeConstraint, removeConstraints, removeVariable, removeVariables, setComponent, setComponents, setConstraintNetwork, setName, setOptions, toString, unmaskConstraintspublic FuzzyAllenIntervalNetworkSolver()
FuzzyAllenIntervalNetworkSolver.protected boolean addConstraintsSub(Constraint[] c)
ConstraintSolverConstraintSolver
class. It should implement all operations necessary to add multiple constraints, and should return
true upon success, false otherwise.addConstraintsSub in class ConstraintSolverc - The constraints to add.true iff the constraints were added to the ConstraintNetwork.protected Variable[] createVariablesSub(int num)
ConstraintSolverConstraintSolver
class. It should implement all operations necessary to create a batch of variable for the specific
type of ConstraintSolver.createVariablesSub in class ConstraintSolvernum - The number of variables to create.Variable for this ConstraintSolver.public double getPosibilityDegree()
ConstraintNetwork.ConstraintNetwork.public boolean propagate()
ConstraintSolverpropagate in class ConstraintSolverprotected void removeConstraintsSub(Constraint[] c)
ConstraintSolverConstraintSolver
class. Should implement all operations necessary to remove a batch of constraints.removeConstraintsSub in class ConstraintSolverc - The constraints to remove.protected void removeVariablesSub(Variable[] v)
ConstraintSolverConstraintSolver
class. It should implement all operations necessary to remove a batch of variables for
the specific type of ConstraintSolver.removeVariablesSub in class ConstraintSolverv - The Variables to remove.public void setVarOfSubGraph(java.util.Vector<FuzzyActivity> fas)
fas - public void setCrispCons(Constraint[] crispCons)
FuzzyAllenIntervalConstraints to be considered as crisp
(meaning that the desired possibility degrees of the constraint should
not change, and the possibility degrees of all other relation types should be 0).crispCons - The constraints to set as crisp.public void registerValueChoiceFunctions()
registerValueChoiceFunctions in class ConstraintSolver