12#ifndef ANTHOCNET_CORE_CONFIG_H
13#define ANTHOCNET_CORE_CONFIG_H
AntHistoryTracker: (src, seqNum) duplicate detection.
double helloInterval
Timer intervals (seconds).
double alpha
Pheromone reinforcement / evaporation weights.
bool enableMacMetric
Congestion-aware per-hop cost (item 10/A2, [1] §3.2): when on and an ILinkState is injected,...
double linkLifetimeRange
Radio range (m) the prediction assumes.
bool enableDirectedReactive
Directed reactive discovery (default off — an explicit deviation from [1] §3.1, kept behind a gate un...
bool enableLinkFail
link-failure notifications ([1] §3.5).
bool enableQuietMode
#571 quiet mode: back proactive ants off on a stable route.
double linkfailNotifyInterval
Minimum spacing (s) between LinkFail notifications this node originates about the same destination.
double reactiveRetryInterval
At most one reactive forward ant per destination per this window, so a stream of packets to an unreac...
double quietBackoffFactor
Geometric growth of the back-off, in proactive rounds. repo choice.
double betaAnts
Eq.1 exponents for the stochastic next-hop choice, from the primary source (#179): Ducatelle,...
double energyCostFloor
#145 energy metric: a node with less than this residual fraction prices its hop as if it had exactly ...
bool enableProactive
Proactive / diffusion subsystem (ADR-0007), config-gated so the benchmark ablation (item 08) can just...
double adaptiveEvapMax
fastest decay, as a multiple of the fixed rate
int networkDiameter
Conservative upper bound on path length for the expanding-ring search.
std::size_t maxHelloAdverts
Diffusion advert cap k: at most this many destinations per hello ant (#186).
bool enableLinkLifetime
#574: discount next hops whose link is predicted to break soon.
double adaptiveEvapMin
slowest decay, as a multiple of the fixed rate
double antAcceptanceFactor
Multipath acceptance factor ([1] §3.1, "empirically set to 1.5"), used only when enableMultipath is o...
int quietMaxBackoff
Longest back-off, in proactive rounds (8 x the 10 s default interval = 80 s between probes of a stabl...
double linkLifetimeFloor
The smallest weight a predicted-short link keeps (discouraged, never removed: a node whose links are ...
bool enableEvaporation
Time-proportional evaporation (ADR-0012): a secondary safety net, the only source of aging (reinforce...
double linkLifetimeHorizon
A link predicted to live at least this long (s) is not discounted.
double sinrPenaltyCost
c_const (> 1)
int repairMaxBroadcasts
Max times a repair / link-failure ant may be (re)broadcast before being dropped, so local repair and ...
bool enableMultipath
Multipath reactive setup ([1] §3.1, issue #96): when on, a later reactive forward ant of an already-s...
double hopTimeSec
Per-hop time estimate used by the back-ant pheromone formula (Eq.2): the time to take one hop in unlo...
int reactiveMaxBroadcasts
Max times one node may broadcast one reactive generation (src, seqNum).
double betaData
exponent for data next-hop choice (thesis beta3).
double sinrCriticalDb
SINR link metric (#181, thesis eq.
double proactiveBroadcastProb
Per-hop probability that an in-transit proactive forward ant is broadcast to explore for new paths ra...
double quietTolerance
Relative pheromone change that still counts as "the same route".
bool enableReactive
Per-ant-type gates, completing the ablation surface the other enable* flags already provide.
int proactiveMaxBroadcasts
Max times a proactive forward ant may be (re)broadcast — covering both the per-hop exploratory broadc...
double antAcceptanceFactorNewHop
Disjoint-path acceptance factor a2 — the less restrictive factor applied when a reactive forward ant'...
std::size_t maxPathLength
Bound the visited-node stack carried in a packet, and the (src,seq) dedup history,...
double minPheromone
Links whose pheromone drops below this are pruned.
double sessionTtl
A destination stays an "active session" (and is probed by proactive ants) for this many seconds after...
double adaptiveEvapTau
churn EWMA time constant (s)
int allowedHelloLoss
A neighbour is presumed gone after this many missed hellos (maxIdle = helloInterval * allowedHelloLos...
double evaporationInterval
reference interval (s) for the decay.
double proactiveVirtualMargin
Emission gate for proactive forward ants (issue #180).
double repairTimeout
Flat repair wait (seconds) used when the lost path has no usable delay estimate (e....
bool enableDiffusion
hello pheromone adverts + virtual table.
double repairWaitFactor
Local repair wait ([1] §3.5): after launching a repair ant, wait repairWaitFactor × the estimated end...
double proactiveInterval
Proactive forward-ant period per active session.
int txFailureThreshold
Consecutive MAC transmit-failures to the same next hop (with no reception from it in between) before ...
bool enableAdaptiveEvaporation
#572 adaptive evaporation: each destination's decay rate follows its observed route churn.
double hopCountAlpha
The thesis's α — hop-count moving average, eq.
bool enableRepair
local repair ants after a link break ([1] §3.5).
double gamma
GAMA: weight of the old value when reinforcing.
double adaptiveEvapRefChurn
Churn (best-hop changes per second) at which the fixed rate applies.
bool shareKinematics
ADR-0025 (#573): put this node's position and velocity, read from the IKinematics port,...