CellMIC class

A square grid cell centered on a given point, with a given half-side size, and having a given distance to the area boundary. The maximum possible distance from any point in the cell to the boundary can be computed, and is used as the ordering and upper-bound function in the branch-and-bound algorithm.

Implemented types

Constructors

CellMIC(double x, double y, double hSide, double distance)

Properties

distance double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hSide double
getter/setter pair
maxDist double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
y double
getter/setter pair

Methods

compareTo(CellMIC o) int
For maximum efficieny sort the PriorityQueue with largest maxDistance at front. Since Java PQ sorts least-first, need to invert the comparison
override
getDistance() double
getEnvelope() Envelope
getHSide() double
getMaxDistance() double
getX() double
getY() double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

SQRT2 double
final