Uses of Class
org.jacop.constraints.geost.DBox
-
Packages that use DBox Package Description org.jacop.constraints.geost -
-
Uses of DBox in org.jacop.constraints.geost
Fields in org.jacop.constraints.geost declared as DBox Modifier and Type Field Description DBox
InArea. allowedArea
It specifies the allowed area in which the objects can reside.DBox
Shape. boundingBox
It specifies the smallest bounding box which encapsulates all boxes constituting the shape.private DBox
ObstacleObjectFrame. frameBoundingBox
It specifies the bounding box of the frame.Fields in org.jacop.constraints.geost with type parameters of type DBox Modifier and Type Field Description java.util.Collection<DBox>
Shape. boxes
The collection of DBoxes that constitute the shape.private SimpleArrayList<DBox>
ObstacleObjectFrame. extendedHoles
the collection of holes that are included in all possible shapes, enlarged to include the whole domain that can be covered for any feasible choice of the originjava.util.LinkedList<DBox>
ObstacleObjectFrame. frame
the frame is the area that is ensured to be covered by the obstacle, given the domain of its origin variablesstatic SimpleArrayList<SimpleArrayList<DBox>>
DBox. freeBoxes
static store of available boxes, accessible by dimension.java.util.Collection<DBox>
InArea. holes
It specifies the holes within the allowed area in which the objects can not be placed.private SimpleArrayList<DBox>
Shape. holes
(package private) SimpleArrayList<DBox>
ObstacleObject. preshiftedElems
It shifts boxes of the given shape as required by the frame.(package private) SimpleArrayList<DBox>
Geost. workingList
A temporary list to collect bounding boxes for each shape of the given object to compute one bounding box whatever the shape of the object.Methods in org.jacop.constraints.geost that return DBox Modifier and Type Method Description static DBox
DBox. boundingBox(java.util.Collection<DBox> boxes)
computes the bounding box of the given collection of boxesDBox
Shape. boundingBox()
It returns previously computed bounding box of the shape.private DBox
Shape. computeBoundingBox()
It computes the bounding box of the given shape.DBox
DBox. copyInto(DBox box)
It copies this DBox into given DBox.protected DBox
Geost. findForbiddenDomain(GeostObject o, int currentShape, int[] point, Geost.SweepDirection dir, LexicographicalOrder order)
static DBox
DBox. getAllocatedInstance(int dimension)
It returns an instance of DBox of the corresponding dimension, using a previously allocated one if possibleDBox
DBox. intersectWith(int[] offset, DBox other, int[] otherOffset)
It intersects this DBox with a view of the given DBox that was shifted according to the given offset.DBox
DBox. intersectWith(DBox other)
It intersects this DBox with the given DBox.DBox
DBox. intersectWith(DBox other, int[] otherOffset)
It intersects this DBox with the given DBox, but the other DBox is shifted by the specified offset.DBox
AllowedArea. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)
DBox
DomainHoles. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)
DBox
ForbiddenArea. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)
abstract DBox
InternalConstraint. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)
It determines whether the given point is a feasible origin of object o, considering this constraint only.DBox
ObstacleObject. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)
DBox
ObstacleObjectFrame. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)
static DBox
DBox. newBox(int dimension)
It returns an usable box, reusing a box from the pool if possible.Methods in org.jacop.constraints.geost that return types with arguments of type DBox Modifier and Type Method Description java.util.Collection<DBox>
Shape. components()
It returns the dboxes defining the shape.java.util.Collection<DBox>
Shape. holes()
It returns the set of holes of this shape.java.util.Collection<DBox>
Shape. noOverlapRepresentation()
It computes a collection of DBoxes that form the same shape, but that are certain to not overlapjava.util.Collection<DBox>
DBox. subtract(DBox hole, java.util.Collection<DBox> difference)
computes the difference between this box and the given box.java.util.Collection<DBox>
DBox. subtractAll(java.util.Collection<DBox> others, java.util.Collection<DBox> result)
It computes the result of a subtraction from this box of all the boxes given.static java.util.Collection<DBox>
DBox. subtractAll(java.util.Collection<DBox> source, java.util.Collection<DBox> holes, java.util.Collection<DBox> result)
It computes the result of a subtraction from the given collection of boxes of all the boxes given in the subtracting collection.Methods in org.jacop.constraints.geost with parameters of type DBox Modifier and Type Method Description DBox
DBox. copyInto(DBox box)
It copies this DBox into given DBox.static void
DBox. dispatchBox(DBox unusedBox)
It allows the system to reuse the given box by placing it into the pool of allocated boxes.void
BoxDisplay. display2DBox(DBox b)
It displays a given dbox in a black color.void
BoxDisplay. display2DBox(DBox b, java.awt.Color color)
It displays a given dbox using a given color.void
BoxDisplay. display2DBox(DBox b, java.awt.Color color, boolean fill)
It draws dboxes given color.DBox
DBox. intersectWith(int[] offset, DBox other, int[] otherOffset)
It intersects this DBox with a view of the given DBox that was shifted according to the given offset.DBox
DBox. intersectWith(DBox other)
It intersects this DBox with the given DBox.DBox
DBox. intersectWith(DBox other, int[] otherOffset)
It intersects this DBox with the given DBox, but the other DBox is shifted by the specified offset.java.util.Collection<DBox>
DBox. subtract(DBox hole, java.util.Collection<DBox> difference)
computes the difference between this box and the given box.Method parameters in org.jacop.constraints.geost with type arguments of type DBox Modifier and Type Method Description static DBox
DBox. boundingBox(java.util.Collection<DBox> boxes)
computes the bounding box of the given collection of boxesjava.util.Collection<DBox>
DBox. subtract(DBox hole, java.util.Collection<DBox> difference)
computes the difference between this box and the given box.java.util.Collection<DBox>
DBox. subtractAll(java.util.Collection<DBox> others, java.util.Collection<DBox> result)
It computes the result of a subtraction from this box of all the boxes given.static java.util.Collection<DBox>
DBox. subtractAll(java.util.Collection<DBox> source, java.util.Collection<DBox> holes, java.util.Collection<DBox> result)
It computes the result of a subtraction from the given collection of boxes of all the boxes given in the subtracting collection.Constructors in org.jacop.constraints.geost with parameters of type DBox Constructor Description InArea(DBox area, java.util.Collection<DBox> holes)
It constructs an external constraint to enforce that all objects within Geost constraint are placed within a specified area with holes in that area specfied as well.Shape(int id, DBox box)
It constructs a shape from only one DBox.Constructor parameters in org.jacop.constraints.geost with type arguments of type DBox Constructor Description InArea(DBox area, java.util.Collection<DBox> holes)
It constructs an external constraint to enforce that all objects within Geost constraint are placed within a specified area with holes in that area specfied as well.Shape(int no, java.util.Collection<DBox> boxes)
It constructs a shape with a given id based on a specified collection of Dboxes.
-