AntHocNet 2.6.1
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
Loading...
Searching...
No Matches
ns3::vizt::VizTrace Class Reference

#include </home/runner/work/swarm-routing.github.io/swarm-routing.github.io/build/src/AntHocNet/ns3/anthocnet/helper/anthocnet-viz-trace.h>

Public Member Functions

bool Active () const
 
void Start (const std::string &path, const std::string &header, const NodeContainer &nodes, Ptr< FlowMonitor > monitor, Ptr< Ipv4FlowClassifier > classifier, uint16_t dataPort, double step, double stop, double scale)
 Start recording.
 
void Finish (uint64_t tx, uint64_t rx, double pdr)
 The run's own books, after the harness computed its PDR.
 
bool Done () const
 

Detailed Description

Definition at line 52 of file anthocnet-viz-trace.h.

Member Function Documentation

◆ Active()

bool ns3::vizt::VizTrace::Active ( ) const
inline

Definition at line 54 of file anthocnet-viz-trace.h.

Referenced by Finish().

◆ Start()

void ns3::vizt::VizTrace::Start ( const std::string &  path,
const std::string &  header,
const NodeContainer &  nodes,
Ptr< FlowMonitor >  monitor,
Ptr< Ipv4FlowClassifier >  classifier,
uint16_t  dataPort,
double  step,
double  stop,
double  scale 
)
inline

Start recording.

header is the harness's JSON fields without braces (e.g. "\"harness\":\"anthocnet-compare\",\"cell\":\"paper\""). Call after the routing protocols and applications are installed and before Simulator::Run(); one recorded run per process.

Definition at line 60 of file anthocnet-viz-trace.h.

◆ Finish()

void ns3::vizt::VizTrace::Finish ( uint64_t  tx,
uint64_t  rx,
double  pdr 
)
inline

The run's own books, after the harness computed its PDR.

Definition at line 91 of file anthocnet-viz-trace.h.

References Active().

◆ Done()

bool ns3::vizt::VizTrace::Done ( ) const
inline

Definition at line 104 of file anthocnet-viz-trace.h.


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