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 DBoxInArea. allowedAreaIt specifies the allowed area in which the objects can reside.DBoxShape. boundingBoxIt specifies the smallest bounding box which encapsulates all boxes constituting the shape.private DBoxObstacleObjectFrame. frameBoundingBoxIt 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. boxesThe collection of DBoxes that constitute the shape.private SimpleArrayList<DBox>ObstacleObjectFrame. extendedHolesthe 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. framethe frame is the area that is ensured to be covered by the obstacle, given the domain of its origin variablesstatic SimpleArrayList<SimpleArrayList<DBox>>DBox. freeBoxesstatic store of available boxes, accessible by dimension.java.util.Collection<DBox>InArea. holesIt 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. preshiftedElemsIt shifts boxes of the given shape as required by the frame.(package private) SimpleArrayList<DBox>Geost. workingListA 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 DBoxDBox. boundingBox(java.util.Collection<DBox> boxes)computes the bounding box of the given collection of boxesDBoxShape. boundingBox()It returns previously computed bounding box of the shape.private DBoxShape. computeBoundingBox()It computes the bounding box of the given shape.DBoxDBox. copyInto(DBox box)It copies this DBox into given DBox.protected DBoxGeost. findForbiddenDomain(GeostObject o, int currentShape, int[] point, Geost.SweepDirection dir, LexicographicalOrder order)static DBoxDBox. getAllocatedInstance(int dimension)It returns an instance of DBox of the corresponding dimension, using a previously allocated one if possibleDBoxDBox. 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.DBoxDBox. intersectWith(DBox other)It intersects this DBox with the given DBox.DBoxDBox. intersectWith(DBox other, int[] otherOffset)It intersects this DBox with the given DBox, but the other DBox is shifted by the specified offset.DBoxAllowedArea. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)DBoxDomainHoles. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)DBoxForbiddenArea. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)abstract DBoxInternalConstraint. 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.DBoxObstacleObject. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)DBoxObstacleObjectFrame. isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c)static DBoxDBox. 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 DBoxDBox. copyInto(DBox box)It copies this DBox into given DBox.static voidDBox. dispatchBox(DBox unusedBox)It allows the system to reuse the given box by placing it into the pool of allocated boxes.voidBoxDisplay. display2DBox(DBox b)It displays a given dbox in a black color.voidBoxDisplay. display2DBox(DBox b, java.awt.Color color)It displays a given dbox using a given color.voidBoxDisplay. display2DBox(DBox b, java.awt.Color color, boolean fill)It draws dboxes given color.DBoxDBox. 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.DBoxDBox. intersectWith(DBox other)It intersects this DBox with the given DBox.DBoxDBox. 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 DBoxDBox. 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.
-