public class BlockConstraintSolver extends MultiConstraintSolver
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockConstraintSolver.Dimension |
MultiConstraintSolver.OPTIONSconstraintSolvers, ingredientsautoprop, components, constraintTypes, logger, name, nesting, noPropOnVarCreation, numcalls, skipPropagation, spacing, theNetwork, variableType| Constructor and Description |
|---|
BlockConstraintSolver(long origin,
long horizon) |
BlockConstraintSolver(long origin,
long horizon,
int maxRectangles) |
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<java.lang.String,BoundingBox> |
extractAllBoundingBoxesFromSTPs() |
BoundingBox |
extractBoundingBoxesFromSTPs(RectangularCuboidRegion rect)
Extracts a specific
BoundingBox from the domain of a RectangularRegion. |
BoundingBox |
extractBoundingBoxesFromSTPs(java.lang.String name) |
java.util.Vector<BoundingBox> |
extractBoundingBoxesFromSTPsByName(java.lang.String name) |
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, unmaskConstraintspublic BlockConstraintSolver(long origin,
long horizon)
public BlockConstraintSolver(long origin,
long horizon,
int maxRectangles)
public boolean propagate()
ConstraintSolverpropagate in class MultiConstraintSolverpublic BoundingBox extractBoundingBoxesFromSTPs(RectangularCuboidRegion rect)
BoundingBox from the domain of a RectangularRegion.rect - The RectangularRegion from to extract the BoundingBox.BoundingBox from the domain of a RectangularRegion.public BoundingBox extractBoundingBoxesFromSTPs(java.lang.String name)
public java.util.HashMap<java.lang.String,BoundingBox> extractAllBoundingBoxesFromSTPs()
public java.util.Vector<BoundingBox> extractBoundingBoxesFromSTPsByName(java.lang.String name)