|
AntHocNet 2.0.0
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
|
The canonical AntHocNet metric (Eq.2): blend the path-time estimate with the hop-count estimate and invert. More...
#include <anthocnet/core/link_metric.h>
Public Member Functions | |
| double | pheromone (const LinkObservation &o) const override |
Public Member Functions inherited from anthocnet::core::ILinkMetric | |
| virtual | ~ILinkMetric ()=default |
The canonical AntHocNet metric (Eq.2): blend the path-time estimate with the hop-count estimate and invert.
Identical to the post-item-02 inline formula.
Definition at line 40 of file link_metric.h.
|
inlineoverridevirtual |
Implements anthocnet::core::ILinkMetric.
Definition at line 41 of file link_metric.h.
References anthocnet::core::LinkObservation::hops, anthocnet::core::LinkObservation::hopTime, and anthocnet::core::LinkObservation::pathTime.