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,...
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).
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 betaAnts
Eq.1 exponents for the stochastic next-hop choice, from the primary source (#179): Ducatelle,...
bool enableProactive
Proactive / diffusion subsystem (ADR-0007), config-gated so the benchmark ablation (item 08) can just...
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).
double antAcceptanceFactor
Multipath acceptance factor ([1] §3.1, "empirically set to 1.5"), used only when enableMultipath is o...
bool enableEvaporation
Time-proportional evaporation (ADR-0012): a secondary safety net, the only source of aging (reinforce...
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 proactiveBroadcastProb
Per-hop probability that an in-transit proactive forward ant is broadcast to explore for new paths ra...
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...
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 ...
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.