15#ifndef ANTHOCNET_CORE_LINK_METRIC_H
16#define ANTHOCNET_CORE_LINK_METRIC_H
AntHistoryTracker: (src, seqNum) duplicate detection.
The canonical AntHocNet metric (Eq.2): blend the path-time estimate with the hop-count estimate and i...
double pheromone(const LinkObservation &o) const override
Maps an observation to a pheromone (goodness; higher == better).
virtual ~ILinkMetric()=default
virtual double pheromone(const LinkObservation &obs) const =0
What a backward ant knows about the path from this node to the destination.
double hops
hops to the destination; fractional once smoothed (#185).
double pathTime
accumulated time estimate (seconds, item 02).
double hopTime
config T_hop (seconds).