## Uses of Class
org.cpsolver.ifs.example.rpp.Location

- Packages that use Location
  Package | Description
  --- | ---
  org.cpsolver.ifs.example.rpp | Random Placement Problem.

- - ### Uses of Location in org.cpsolver.ifs.example.rpp

    Methods in org.cpsolver.ifs.example.rpp with parameters of type Location
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResourceConstraint.Context.`assigned(Assignment<Rectangle,Location> assignment, Location placement)` Notification, when a rectangle is placed.
    `void` | ResourceConstraint.`computeConflicts(Assignment<Rectangle,Location> assignment, 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(Assignment<Rectangle,Location> assignment, 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.Context.`unassigned(Assignment<Rectangle,Location> assignment, Location placement)` Notification, when a rectangle is unplaced.

    Method parameters in org.cpsolver.ifs.example.rpp with type arguments of type Location
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResourceConstraint.Context.`assigned(Assignment<Rectangle,Location> assignment, Location placement)` Notification, when a rectangle is placed.
    `void` | ResourceConstraint.`computeConflicts(Assignment<Rectangle,Location> assignment, Location placement, Set<Location> conflicts)` Compute conflicts with the given placement of the rectangle.
    `void` | ResourceConstraint.`computeConflicts(Assignment<Rectangle,Location> assignment, Location placement, Set<Location> conflicts)` Compute conflicts with the given placement of the rectangle.
    `ResourceConstraint.Context` | ResourceConstraint.`createAssignmentContext(Assignment<Rectangle,Location> assignment)`
    `void` | ResourceConstraint.`check(Assignment<Rectangle,Location> assignment)`
    `boolean` | ResourceConstraint.`inConflict(Assignment<Rectangle,Location> assignment, Location placement)` Returns true if there is a rectangle which overlaps with the given assignment.
    `void` | ResourceConstraint.Context.`unassigned(Assignment<Rectangle,Location> assignment, Location placement)` Notification, when a rectangle is unplaced.

    Constructors in org.cpsolver.ifs.example.rpp with parameters of type Location
    Constructor and Description
    `Rectangle(String name, int width, int height, int minX, int maxX, int minY, int maxY, Location initialLocation)` Constructor.

    Constructor parameters in org.cpsolver.ifs.example.rpp with type arguments of type Location
    Constructor and Description
    `Context(Assignment<Rectangle,Location> assignment)`