public class AllenIntervalNetworkSolver extends MultiConstraintSolver
MultiConstraintSolver.OPTIONSconstraintSolvers, ingredientsautoprop, components, constraintTypes, IDs, logger, name, nesting, noPropOnVarCreation, numcalls, skipPropagation, spacing, theNetwork, variableType| Modifier | Constructor and Description |
|---|---|
protected |
AllenIntervalNetworkSolver(java.lang.Class<?>[] constraintTypes,
java.lang.Class<?> variableType,
ConstraintSolver[] internalSolvers,
int[] ingredients) |
|
AllenIntervalNetworkSolver(long origin,
long horizon) |
|
AllenIntervalNetworkSolver(long origin,
long horizon,
int maxActivities) |
| Modifier and Type | Method and Description |
|---|---|
int |
bookmark() |
protected static ConstraintSolver[] |
createConstraintSolvers(long origin,
long horizon,
int maxActivities) |
Bounds |
getAdmissibleDistanceBounds(TimePoint tpTo)
Get the minimum and maximum allowed distance between the global source and a
TimePoint. |
Bounds |
getAdmissibleDistanceBounds(TimePoint tpFrom,
TimePoint tpTo)
Gets the minimum and maximum allowed distance between a pair of
TimePoints. |
long |
getHorizon()
Get the temporal horizon.
|
long |
getOrigin()
Get the origin of time.
|
double |
getRigidityNumber() |
int |
numBookmarks() |
boolean |
propagate()
Propagate the constraint network.
|
void |
removeBookmark(int i) |
void |
revert(int i) |
addConstraintsSub, createVariablesSub, createVariablesSub, createVariablesSub, drawConstraintNetworkHierarchy, drawConstraintSolverHierarchy, failurePruning, getConstraintNetworkHierarchy, getConstraintNetworksFromSolverHierarchy, getConstraintSolver, getConstraintSolverHierarchy, getConstraintSolvers, getConstraintSolversFromConstraintSolverHierarchy, getDescription, getOption, registerValueChoiceFunctions, removeConstraintsSub, removeVariablesSub, setConstraintSolver, setIngredients, setOptionsaddConstraint, addConstraintNoPropagation, addConstraints, addConstraintsDebug, addConstraintsNoPropagation, containsVariable, createVariable, createVariable, createVariables, createVariables, deplenish, getComponent, getComponents, getConstraintNetwork, getConstraints, getConstraints, getID, getOption, getVariable, getVariables, getVariables, getVariables, isCompatible, maskConstraints, removeConstraint, removeConstraints, removeVariable, removeVariables, setComponent, setComponents, setConstraintNetwork, setName, setOptions, toString, unmaskConstraintspublic AllenIntervalNetworkSolver(long origin,
long horizon,
int maxActivities)
public AllenIntervalNetworkSolver(long origin,
long horizon)
protected AllenIntervalNetworkSolver(java.lang.Class<?>[] constraintTypes,
java.lang.Class<?> variableType,
ConstraintSolver[] internalSolvers,
int[] ingredients)
protected static ConstraintSolver[] createConstraintSolvers(long origin, long horizon, int maxActivities)
public long getOrigin()
public long getHorizon()
public final Bounds getAdmissibleDistanceBounds(TimePoint tpFrom, TimePoint tpTo)
TimePoints.public final Bounds getAdmissibleDistanceBounds(TimePoint tpTo)
TimePoint.public final double getRigidityNumber()
public boolean propagate()
ConstraintSolverpropagate in class MultiConstraintSolverpublic int bookmark()
public void removeBookmark(int i)
public void revert(int i)
public int numBookmarks()