template<class cubetype, class cubsettype = chomp::homology::hashedset<cubetype>>
class MapDistance< cubetype, cubsettype >
The map distance change tracker.
Note: This class is not thread-safe.
Definition at line 69 of file mapdist.h.
template<class cubetype , class cubsettype >
void MapDistance< cubetype, cubsettype >::distance |
( |
int |
subspace, |
|
|
const IntervalType * |
box, |
|
|
int |
dim, |
|
|
double & |
distMin, |
|
|
double & |
distMax |
|
) |
| |
|
staticprivate |
Computes the lower and upper bounds for the distance of the interval box from the given subspace.
Note: It can actually compute a multiple of the distance or the squared distance, but this is OK for the purpose of comparing the distances if they get smaller or larger.
Definition at line 187 of file mapdist.h.
template<class cubetype , class cubsettype = chomp::homology::hashedset<cubetype>>
const bool MapDistance< cubetype, cubsettype >::checkDistanceChanges = false |
|
staticprivate |
Should the distances be really checked? Please, set this to 'true' only if you know what you are doing.
Otherwise, leave it as 'false'.
Definition at line 86 of file mapdist.h.
template<class cubetype , class cubsettype = chomp::homology::hashedset<cubetype>>
chomp::homology::multitable<cubsettype> MapDistance< cubetype, cubsettype >::distCubes |
|
mutableprivate |
The sets of boxes with the distance checked: closer, farther, undetermined, for each hyperplane separately.
Definition at line 96 of file mapdist.h.