AntHocNet 2.0.0
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
Loading...
Searching...
No Matches
anthocnet::core::LinkObservation Struct Reference

What a backward ant knows about the path from this node to the destination. More...

#include <anthocnet/core/link_metric.h>

Public Attributes

double hops = 0.0
 hops to the destination; fractional once smoothed (#185).
 
double pathTime = 0.0
 accumulated time estimate (seconds, item 02).
 
double hopTime = 0.0
 config T_hop (seconds).
 

Detailed Description

What a backward ant knows about the path from this node to the destination.

Carries path aggregates and node-local signals only — never per-hop downstream vectors (the wire carries one scalar cost per hop, ADR-0009).

Definition at line 26 of file link_metric.h.

Member Data Documentation

◆ hops

double anthocnet::core::LinkObservation::hops = 0.0

hops to the destination; fractional once smoothed (#185).

Definition at line 27 of file link_metric.h.

Referenced by anthocnet::core::ClassicMetric::pheromone().

◆ pathTime

double anthocnet::core::LinkObservation::pathTime = 0.0

accumulated time estimate (seconds, item 02).

Definition at line 28 of file link_metric.h.

Referenced by anthocnet::core::ClassicMetric::pheromone().

◆ hopTime

double anthocnet::core::LinkObservation::hopTime = 0.0

config T_hop (seconds).

Definition at line 29 of file link_metric.h.

Referenced by anthocnet::core::ClassicMetric::pheromone().


The documentation for this struct was generated from the following file: