SOLA
|
Public Member Functions | |
MinhtonSearchExactAlgorithm (std::shared_ptr< AccessContainer > access) | |
minhton::NodeInfo | calcClosestRedirect (double dest_value) override |
Public Member Functions inherited from minhton::SearchExactAlgorithmGeneral | |
SearchExactAlgorithmGeneral (std::shared_ptr< AccessContainer > access) | |
void | process (const MessageVariant &msg) override |
void | performSearchExact (const minhton::NodeInfo &destination, std::shared_ptr< MessageSEVariant > query) override |
Public Member Functions inherited from minhton::SearchExactAlgorithmInterface | |
SearchExactAlgorithmInterface (std::shared_ptr< AccessContainer > access) | |
Public Member Functions inherited from minhton::AlgorithmInterface | |
AlgorithmInterface (std::shared_ptr< AccessContainer > access) | |
Additional Inherited Members | |
Static Public Member Functions inherited from minhton::SearchExactAlgorithmInterface | |
static std::vector< minhton::MessageType > | getSupportedMessageTypes () |
Protected Member Functions inherited from minhton::SearchExactAlgorithmGeneral | |
void | processSearchExact (const minhton::MessageSearchExact &msg) |
void | notifyAboutFailure (const minhton::NodeInfo &destination, std::shared_ptr< MessageSEVariant > query) |
Protected Member Functions inherited from minhton::AlgorithmInterface | |
void | send (const MessageVariant &msg) |
std::shared_ptr< RoutingInformation > | getRoutingInfo () const |
NodeInfo | getSelfNodeInfo () const |
Protected Attributes inherited from minhton::AlgorithmInterface | |
std::shared_ptr< AccessContainer > | access_ |
|
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:
dest_value | double by the tree mapper of the destination horizontal value |
Implements minhton::SearchExactAlgorithmGeneral.