CellLEC class

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

Implemented types

Constructors

CellLEC(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(CellLEC o) int
Compares this object to another object.
override
getDistance() double
getHSide() double
getMaxDistance() double
getX() double
getY() double
isFullyOutside() bool
isOutside() bool
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