hep.aida.ext
Interface IDomainConstraint
-
public interface IDomainConstraint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanaddConstraint(IConstraint constraint)Add a new constraint.IConstraint[]constraints()The constraints currently in the domain.intnConstraints()The number of constraints currently in the domain.booleanremoveConstraint(IConstraint constraint)Remove a constraint.voidreset()Remove all the constraints.
-
-
-
Method Detail
-
addConstraint
boolean addConstraint(IConstraint constraint)
Add a new constraint.- Parameters:
constraint- The constraint to be added.- Returns:
trueif the constraint was added succesfully.falseotherwise.
-
removeConstraint
boolean removeConstraint(IConstraint constraint)
Remove a constraint.- Parameters:
constraint- The constraint to be removed.- Returns:
trueif the constraint was removed succesfully.falseotherwise.
-
constraints
IConstraint[] constraints()
The constraints currently in the domain.- Returns:
- The IConstraint[] array of constraints.
-
nConstraints
int nConstraints()
The number of constraints currently in the domain.- Returns:
- The number of constraints.
-
reset
void reset()
Remove all the constraints.
-
-
DMelt 3.0 © DataMelt by jWork.ORG