A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{wifi-bianchi.cc}::Experiment Class Reference

Class to configure and run an experiment. More...

Public Member Functions

 Experiment ()
int Run (const WifiHelper &wifi, const YansWifiPhyHelper &wifiPhy, const WifiMacHelper &wifiMac, const YansWifiChannelHelper &wifiChannel, uint32_t trialNumber, uint32_t networkSize, Time duration, bool pcap, bool infra, uint16_t guardIntervalNs, meter_u distance, dBm_u apTxPower, dBm_u staTxPower, Time pktInterval)
 Configure and run the experiment.

Detailed Description

Class to configure and run an experiment.

Definition at line 2400 of file wifi-bianchi.cc.

Constructor & Destructor Documentation

◆ Experiment()

anonymous_namespace{wifi-bianchi.cc}::Experiment::Experiment ( )

Definition at line 2443 of file wifi-bianchi.cc.

Member Function Documentation

◆ Run()

int anonymous_namespace{wifi-bianchi.cc}::Experiment::Run ( const WifiHelper & wifi,
const YansWifiPhyHelper & wifiPhy,
const WifiMacHelper & wifiMac,
const YansWifiChannelHelper & wifiChannel,
uint32_t trialNumber,
uint32_t networkSize,
Time duration,
bool pcap,
bool infra,
uint16_t guardIntervalNs,
meter_u distance,
dBm_u apTxPower,
dBm_u staTxPower,
Time pktInterval )

Configure and run the experiment.

Parameters
wifithe pre-configured WifiHelper
wifiPhythe pre-configured YansWifiPhyHelper
wifiMacthe pre-configured WifiMacHelper
wifiChannelthe pre-configured YansWifiChannelHelper
trialNumberthe trial index
networkSizethe number of stations
durationthe duration of each simulation run
pcapflag to enable/disable PCAP files generation
infraflag to enable infrastructure model, ring adhoc network if not set
guardIntervalNsthe guard interval in ns
distancethe distance
apTxPowerthe AP transmit power
staTxPowerthe STA transmit power
pktIntervalthe packet interval
Returns
0 if all went well

Call graph was not generated because of its size.

Definition at line 2448 of file wifi-bianchi.cc.

References ns3::Node::AddApplication(), ns3::WifiHelper::AssignStreams(), anonymous_namespace{wifi-bianchi.cc}::AssociationLog(), anonymous_namespace{wifi-bianchi.cc}::BackoffTrace(), anonymous_namespace{wifi-bianchi.cc}::backoffTraceFile, ns3::Config::Connect(), ns3::NodeContainer::Create(), ns3::YansWifiChannelHelper::Create(), ns3::CreateObject(), anonymous_namespace{wifi-bianchi.cc}::CwTrace(), anonymous_namespace{wifi-bianchi.cc}::cwTraceFile, ns3::Simulator::Destroy(), anonymous_namespace{wifi-bianchi.cc}::DisassociationLog(), ns3::WifiPhyHelper::DLT_IEEE802_11_RADIO, ns3::DynamicCast(), ns3::WifiPhyRxTraceHelper::Enable(), ns3::WifiTxStatsHelper::Enable(), ns3::NodeContainer::Get(), ns3::Node::GetDevice(), ns3::WifiTxStatsHelper::GetFailuresByNodeDevice(), ns3::NodeContainer::GetN(), ns3::WifiTxStatsHelper::GetRetransmissionsByNodeDevice(), ns3::Time::GetSeconds(), ns3::WifiTxStatsHelper::GetSuccessesByNodeDevice(), ns3::PacketSocketHelper::Install(), anonymous_namespace{wifi-bianchi.cc}::MacRxTrace(), anonymous_namespace{wifi-bianchi.cc}::macRxTraceFile, anonymous_namespace{wifi-bianchi.cc}::MacTxTrace(), anonymous_namespace{wifi-bianchi.cc}::macTxTraceFile, ns3::MakeCallback(), anonymous_namespace{wifi-bianchi.cc}::maxMpdus, ns3::MicroSeconds(), ns3::NanoSeconds(), NS_LOG_DEBUG, anonymous_namespace{wifi-bianchi.cc}::PhyRxDoneTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyRxDropTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyRxErrorTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyRxOkTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyRxPayloadTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyRxTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyTxDoneTrace(), anonymous_namespace{wifi-bianchi.cc}::PhyTxTrace(), anonymous_namespace{wifi-bianchi.cc}::phyTxTraceFile, PI, anonymous_namespace{wifi-bianchi.cc}::pktSize, ns3::WifiPhyRxTraceHelper::PrintStatistics(), anonymous_namespace{wifi-bianchi.cc}::RestartCalc(), ns3::Simulator::Run(), ns3::Time::S, ns3::Simulator::Schedule(), ns3::Seconds(), ns3::Config::Set(), ns3::PacketSocketAddress::SetPhysicalAddress(), ns3::PacketSocketAddress::SetProtocol(), ns3::RngSeedManager::SetRun(), ns3::RngSeedManager::SetSeed(), ns3::PacketSocketAddress::SetSingleDevice(), anonymous_namespace{wifi-bianchi.cc}::SocketSendTrace(), anonymous_namespace{wifi-bianchi.cc}::socketSendTraceFile, ns3::WifiPhyRxTraceHelper::Start(), ns3::WifiTxStatsHelper::Start(), ns3::StaticCast(), ns3::Simulator::Stop(), ns3::WifiPhyRxTraceHelper::Stop(), ns3::WifiTxStatsHelper::Stop(), ns3::Time::ToInteger(), anonymous_namespace{wifi-bianchi.cc}::TracePacketReception(), anonymous_namespace{wifi-bianchi.cc}::tracing, anonymous_namespace{wifi-bianchi.cc}::useRxHelper, anonymous_namespace{wifi-bianchi.cc}::useTxHelper, ns3::WIFI_MAC_DROP_EXPIRED_LIFETIME, ns3::WIFI_MAC_DROP_FAILED_ENQUEUE, ns3::WIFI_MAC_DROP_QOS_OLD_PACKET, and ns3::WIFI_MAC_DROP_REACHED_RETRY_LIMIT.


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