Uses of Class
org.jacop.constraints.geost.DBox
Packages that use DBox
-
Uses of DBox in org.jacop.constraints.geost
Fields in org.jacop.constraints.geost declared as DBoxModifier and TypeFieldDescriptionInArea.allowedAreaIt specifies the allowed area in which the objects can reside.final 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 DBoxModifier and TypeFieldDescriptionShape.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 originObstacleObjectFrame.framethe frame is the area that is ensured to be covered by the obstacle, given the domain of its origin variablesstatic final SimpleArrayList<SimpleArrayList<DBox>> DBox.freeBoxesstatic store of available boxes, accessible by dimension.InArea.holesIt specifies the holes within the allowed area in which the objects can not be placed.private SimpleArrayList<DBox> Shape.holes(package private) final SimpleArrayList<DBox> ObstacleObject.preshiftedElemsIt shifts boxes of the given shape as required by the frame.(package private) final 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 DBoxModifier and TypeMethodDescriptionstatic DBoxDBox.boundingBox(Collection<DBox> boxes) computes the bounding box of the given collection of boxesfinal DBoxShape.boundingBox()It returns previously computed bounding box of the shape.private DBoxShape.computeBoundingBox()It computes the bounding box of the given shape.final DBoxIt copies this DBox into given DBox.protected DBoxGeost.findForbiddenDomain(GeostObject o, int currentShape, int[] point, Geost.SweepDirection dir, LexicographicalOrder order) static final DBoxDBox.getAllocatedInstance(int dimension) It returns an instance of DBox of the corresponding dimension, using a previously allocated one if possibleDBox.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.intersectWith(DBox other) It intersects this DBox with the given 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.AllowedArea.isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c) DomainHoles.isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c) ForbiddenArea.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.ObstacleObject.isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c) ObstacleObjectFrame.isFeasible(Geost.SweepDirection min, LexicographicalOrder order, GeostObject o, int currentShape, int[] c) static final 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 DBoxModifier and TypeMethodDescriptionShape.components()It returns the dboxes defining the shape.Shape.holes()It returns the set of holes of this shape.Shape.noOverlapRepresentation()It computes a collection of DBoxes that form the same shape, but that are certain to not overlapDBox.subtract(DBox hole, Collection<DBox> difference) computes the difference between this box and the given box.DBox.subtractAll(Collection<DBox> others, Collection<DBox> result) It computes the result of a subtraction from this box of all the boxes given.static Collection<DBox> DBox.subtractAll(Collection<DBox> source, Collection<DBox> holes, 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 DBoxModifier and TypeMethodDescriptionfinal DBoxIt copies this DBox into given DBox.static final 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, Color color) It displays a given dbox using a given color.voidBoxDisplay.display2DBox(DBox b, Color color, boolean fill) It draws dboxes given color.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.intersectWith(DBox other) It intersects this DBox with the given 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.subtract(DBox hole, 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 DBoxModifier and TypeMethodDescriptionstatic DBoxDBox.boundingBox(Collection<DBox> boxes) computes the bounding box of the given collection of boxesDBox.subtract(DBox hole, Collection<DBox> difference) computes the difference between this box and the given box.DBox.subtractAll(Collection<DBox> others, Collection<DBox> result) It computes the result of a subtraction from this box of all the boxes given.static Collection<DBox> DBox.subtractAll(Collection<DBox> source, Collection<DBox> holes, 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 DBoxModifierConstructorDescriptionInArea(DBox area, 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.It constructs a shape from only one DBox.Constructor parameters in org.jacop.constraints.geost with type arguments of type DBoxModifierConstructorDescriptionInArea(DBox area, 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, Collection<DBox> boxes) It constructs a shape with a given id based on a specified collection of Dboxes.