◆ calcClosestRedirect()
minhton::NodeInfo minhton::MinhtonSearchExactAlgorithm::calcClosestRedirect |
( |
double |
dest_value | ) |
|
|
overridevirtual |
Helper method for Search Exact procedure, to calculate the closest node to the destination, by considering all of our routing information and by using the tree mapper.
Typical usage:
this->routing_info_.calcClosestRedirect(dest_value, prohibited_node);
- Parameters
-
dest_value | double by the tree mapper of the destination horizontal value |
- Returns
- NodeInfo object of the closest redirect we know or uninitialized object if no node is found on the correct side.
Implements minhton::SearchExactAlgorithmGeneral.
The documentation for this class was generated from the following files: