public class SpatioTemporalVariableSolver extends MultiConstraintSolver
MultiConstraintSolver for SpatioTemporalVariables. Constraints of type AllenIntervalConstraint and
DE9IMRelation can be added to SpatioTemporalVariables.MultiConstraintSolver.OPTIONSconstraintSolvers, ingredientsautoprop, components, constraintTypes, IDs, logger, name, nesting, noPropOnVarCreation, numcalls, skipPropagation, spacing, theNetwork, variableType| Modifier | Constructor and Description |
|---|---|
protected |
SpatioTemporalVariableSolver(java.lang.Class<?>[] constraintTypes,
java.lang.Class<?> variableType,
ConstraintSolver[] internalSolvers,
int[] ingredients) |
|
SpatioTemporalVariableSolver(long origin,
long horizon)
Create a
SpatioTemporalVariableSolver with given temporal origin and horizon. |
| Modifier and Type | Method and Description |
|---|---|
DE9IMRelationSolver |
getSpatialSolver()
Returns the
DE9IMRelationSolver which propagates spatial constraints (of type DE9IMRelation)
among the spatial parts (GeometricShapeVariables) of SpatioTemporalVariables. |
AllenIntervalNetworkSolver |
getTemporalSolver()
Returns the
AllenIntervalNetworkSolver which propagates temporal constraints (of type AllenIntervalConstraint)
among the temporal parts (AllenIntervals) of SpatioTemporalVariables. |
boolean |
propagate()
Propagate the constraint network.
|
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, unmaskConstraintsprotected SpatioTemporalVariableSolver(java.lang.Class<?>[] constraintTypes,
java.lang.Class<?> variableType,
ConstraintSolver[] internalSolvers,
int[] ingredients)
public SpatioTemporalVariableSolver(long origin,
long horizon)
SpatioTemporalVariableSolver with given temporal origin and horizon.origin - The origin of the temporal solver underlying this SpatioTemporalVariableSolver.horizon - The horizon of the temporal solver underlying this SpatioTemporalVariableSolver.public boolean propagate()
ConstraintSolverpropagate in class MultiConstraintSolverpublic AllenIntervalNetworkSolver getTemporalSolver()
AllenIntervalNetworkSolver which propagates temporal constraints (of type AllenIntervalConstraint)
among the temporal parts (AllenIntervals) of SpatioTemporalVariables.SpatioTemporalVariables.public DE9IMRelationSolver getSpatialSolver()
DE9IMRelationSolver which propagates spatial constraints (of type DE9IMRelation)
among the spatial parts (GeometricShapeVariables) of SpatioTemporalVariables.SpatioTemporalVariables.