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

One entry of the event log (see Ev for what each field means per kind). More...

#include <ahn_web/sim.h>

Public Attributes

double t
 simulated time (s)
 
Ev kind
 what happened
 
int node
 where it happened
 
int peer
 the other node, -1 for broadcast, or a DropReason
 
int a
 kind-specific (AntType, flow, destination)
 
int b
 kind-specific (AntDirection, sequence number)
 
double v
 kind-specific (arrival time, end-to-end delay)
 

Detailed Description

One entry of the event log (see Ev for what each field means per kind).

Definition at line 141 of file sim.h.

Member Data Documentation

◆ t

double ahn_web::LogEvent::t

simulated time (s)

Definition at line 142 of file sim.h.

◆ kind

Ev ahn_web::LogEvent::kind

what happened

Definition at line 143 of file sim.h.

◆ node

int ahn_web::LogEvent::node

where it happened

Definition at line 144 of file sim.h.

◆ peer

int ahn_web::LogEvent::peer

the other node, -1 for broadcast, or a DropReason

Definition at line 145 of file sim.h.

◆ a

int ahn_web::LogEvent::a

kind-specific (AntType, flow, destination)

Definition at line 146 of file sim.h.

◆ b

int ahn_web::LogEvent::b

kind-specific (AntDirection, sequence number)

Definition at line 147 of file sim.h.

◆ v

double ahn_web::LogEvent::v

kind-specific (arrival time, end-to-end delay)

Definition at line 148 of file sim.h.


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