|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Location | |
|---|---|
| net.sf.cpsolver.ifs.example.rpp | Random Placement Problem. |
| Uses of Location in net.sf.cpsolver.ifs.example.rpp |
|---|
| Methods in net.sf.cpsolver.ifs.example.rpp with parameters of type Location | |
|---|---|
void |
ResourceConstraint.assigned(long iteration,
Location placement)
Notification, when a rectangle is placed. |
void |
ResourceConstraint.computeConflicts(Location placement,
Set<Location> conflicts)
Compute conflicts with the given placement of the rectangle. |
boolean |
Location.hasIntersection(Location anotherLocation)
Returns true if the given location intersects with this location |
boolean |
ResourceConstraint.inConflict(Location placement)
Returns true if there is a rectangle which overlaps with the given assignment. |
boolean |
ResourceConstraint.isConsistent(Location p1,
Location p2)
Returns true if the given rectangles (assignments) do not overlap. |
void |
ResourceConstraint.unassigned(long iteration,
Location placement)
Notification, when a rectangle is unplaced. |
| Method parameters in net.sf.cpsolver.ifs.example.rpp with type arguments of type Location | |
|---|---|
void |
ResourceConstraint.computeConflicts(Location placement,
Set<Location> conflicts)
Compute conflicts with the given placement of the rectangle. |
| Constructors in net.sf.cpsolver.ifs.example.rpp with parameters of type Location | |
|---|---|
Rectangle(String name,
int width,
int height,
int minX,
int maxX,
int minY,
int maxY,
Location initialLocation)
Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||