37#ifndef ANTHOCNET_CORE_LINK_METRIC_REGISTRY_H
38#define ANTHOCNET_CORE_LINK_METRIC_REGISTRY_H
const ILinkMetric & get(const std::string &name)
Look up name, or throw std::invalid_argument naming the offending value and the registered alternativ...
constexpr char kClassic[]
Registry name of the canonical AntHocNet metric (Eq.2, ClassicMetric).
const ILinkMetric * find(const std::string &name)
Look up name; returns nullptr when it is not registered.
std::string registeredNames()
Every registered name, comma-separated — for diagnostics and for the adapters' "valid values" help te...
AntHistoryTracker: (src, seqNum) duplicate detection.
Maps an observation to a pheromone (goodness; higher == better).