public class FuzzySymbolicVariableConstraintSolver extends ConstraintSolver
ConstraintSolver solves CSPs where variables are fuzzy sets (see
FuzzySymbolicVariable) and constraints are equality or inequalities
among fuzzy sets. Constraints are crisp, and represented by SymbolicValueConstraints.ConstraintSolver.OPTIONS| Modifier and Type | Field and Description |
|---|---|
protected int |
SVIDs |
autoprop, components, constraintTypes, IDs, logger, name, nesting, noPropOnVarCreation, numcalls, skipPropagation, spacing, theNetwork, variableType| Constructor and Description |
|---|
FuzzySymbolicVariableConstraintSolver() |
| 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. |
java.util.Vector<Constraint> |
getFalseConstraint() |
double |
getPosibilityDegree() |
double |
getUpperBound() |
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 |
resetFalseClauses() |
void |
setVarOfSubGraph(java.util.Vector<FuzzyActivity> subs) |
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 FuzzySymbolicVariableConstraintSolver()
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 getUpperBound()
public double getPosibilityDegree()
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> subs)
public java.util.Vector<Constraint> getFalseConstraint()
public void resetFalseClauses()
public void registerValueChoiceFunctions()
registerValueChoiceFunctions in class ConstraintSolver