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. | |
Class to configure and run an experiment.
Definition at line 2400 of file wifi-bianchi.cc.
| anonymous_namespace{wifi-bianchi.cc}::Experiment::Experiment | ( | ) |
Definition at line 2443 of file wifi-bianchi.cc.
| 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.
| wifi | the pre-configured WifiHelper |
| wifiPhy | the pre-configured YansWifiPhyHelper |
| wifiMac | the pre-configured WifiMacHelper |
| wifiChannel | the pre-configured YansWifiChannelHelper |
| trialNumber | the trial index |
| networkSize | the number of stations |
| duration | the duration of each simulation run |
| pcap | flag to enable/disable PCAP files generation |
| infra | flag to enable infrastructure model, ring adhoc network if not set |
| guardIntervalNs | the guard interval in ns |
| distance | the distance |
| apTxPower | the AP transmit power |
| staTxPower | the STA transmit power |
| pktInterval | the packet interval |
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.