7#ifndef MINHTON_CORE_ROUTING_CALCULATIONS_H_
8#define MINHTON_CORE_ROUTING_CALCULATIONS_H_
66std::tuple<uint32_t, uint32_t>
calcParent(uint32_t level, uint32_t number, uint16_t fanout);
87std::vector<std::tuple<uint32_t, uint32_t>>
calcChildren(uint32_t level, uint32_t number,
129std::vector<std::tuple<uint32_t, uint32_t>>
calcLeftRT(uint32_t level, uint32_t number,
152std::vector<std::tuple<uint32_t, uint32_t>>
calcRightRT(uint32_t level, uint32_t number,
170std::set<uint32_t>
calcPrioSet(uint32_t level, uint16_t fanout);
197double treeMapper(uint32_t level, uint32_t number, uint16_t fanout,
double K);
206 uint16_t fanout, uint8_t K);
208std::tuple<uint32_t, uint32_t> getCoveringDSN(uint32_t level, uint32_t number, uint16_t fanout);
209std::vector<std::tuple<uint32_t, uint32_t>> getCoverArea(uint32_t level, uint32_t number,
211std::vector<uint32_t> getDSNSet(uint32_t level, uint16_t fanout);
Definition minhton_watchdog_ns3.cpp:24
bool isNodePartOfPrioSet(uint32_t level, uint32_t number, uint16_t fanout)
Definition routing_calculations.cpp:19
bool getFillLevelRightToLeft(uint32_t level)
Definition routing_calculations.cpp:17
std::vector< uint32_t > calcRoutingSequence(uint32_t level, uint16_t fanout)
Definition routing_calculations.cpp:71
std::vector< std::tuple< uint32_t, uint32_t > > calcLeftRT(uint32_t level, uint32_t number, uint16_t fanout)
Definition routing_calculations.cpp:89
std::vector< std::tuple< uint32_t, uint32_t > > calcRightRT(uint32_t level, uint32_t number, uint16_t fanout)
Definition routing_calculations.cpp:108
bool isFanoutValid(uint16_t fanout)
Definition routing_calculations.cpp:186
std::set< uint32_t > calcPrioSet(uint32_t level, uint16_t fanout)
returns an ordered set
Definition routing_calculations.cpp:145
std::tuple< uint32_t, uint32_t > calcParent(uint32_t level, uint32_t number, uint16_t fanout)
Definition routing_calculations.cpp:25
bool isPositionValid(uint32_t level, uint32_t number, uint16_t fanout)
Definition routing_calculations.cpp:174
double treeMapper(uint32_t level, uint32_t number, uint16_t fanout, double K)
Definition routing_calculations.cpp:231
std::tuple< double, double, double > treeMapperInternal(uint32_t level, uint32_t number, uint16_t fanout, uint8_t K)
Definition routing_calculations.cpp:198
std::vector< std::tuple< uint32_t, uint32_t > > calcChildren(uint32_t level, uint32_t number, uint16_t fanout)
Definition routing_calculations.cpp:43