7#ifndef MINHTON_ALGORITHMS_MINTHON_FIND_END_ALGORITHM_H_
8#define MINHTON_ALGORITHMS_MINTHON_FIND_END_ALGORITHM_H_
12#include "minhton/algorithms/algorithm_interface.h"
13#include "minhton/message/find_end.h"
14#include "minhton/message/types_all.h"
23 void process(
const MessageVariant &)
override {
Definition algorithm_interface.h:18
Definition minhton_find_end_algorithm.h:18
bool decideNextStep(minhton::NodeInfo request_origin, uint16_t hop_count)
Definition minhton_find_end_algorithm_helper.cpp:206
void forwardRequest(minhton::NodeInfo target, minhton::NodeInfo request_origin, SearchProgress search_progress, uint16_t hop_count)
Definition minhton_find_end_algorithm_helper.cpp:15
void checkRight(minhton::NodeInfo request_origin, uint16_t hop_count)
Definition minhton_find_end_algorithm_helper.cpp:176
void forwardToAdjacentNode(minhton::NodeInfo request_origin, uint16_t hop_count)
Definition minhton_find_end_algorithm_helper.cpp:50
minhton::NodeInfo findReachableNodeClosestToParent(minhton::NodeInfo child) const
Definition minhton_find_end_algorithm_helper.cpp:154
void searchEndOnLevel(minhton::NodeInfo request_origin, bool left_side, uint16_t hop_count)
Definition minhton_find_end_algorithm_helper.cpp:110
static bool isRightmostPossibleNode(minhton::NodeInfo node)
Definition minhton_find_end_algorithm_helper.cpp:201
bool isCorrectParent() const
Definition minhton_find_end_algorithm_helper.cpp:71
Definition node_info.h:24
Definition minhton_watchdog_ns3.cpp:24
SearchProgress
Used by the minhton join & leave algorithm to save the progress of the position finding.
Definition find_end.h:12