#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/mobility-module.h>
#include <ns3/internet-module.h>
#include <ns3/lte-module.h>
#include <ns3/config-store-module.h>
#include <ns3/buildings-module.h>
#include <ns3/point-to-point-helper.h>
#include <ns3/applications-module.h>
#include <ns3/log.h>
#include <iomanip>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | FemtocellBlockAllocator |
Functions | |
bool | AreOverlapping (Box a, Box b) |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("LenaDualStripe") | |
void | PrintGnuplottableBuildingListToFile (std::string filename) |
void | PrintGnuplottableEnbListToFile (std::string filename) |
void | PrintGnuplottableUeListToFile (std::string filename) |
Definition at line 46 of file lena-dual-stripe.cc.
References ns3::Box::xMax, ns3::Box::xMin, ns3::Box::yMax, and ns3::Box::yMin.
Referenced by FemtocellBlockAllocator::OverlapsWithAnyPrevious().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 222 of file lena-dual-stripe.cc.
References ns3::LteHelper::ActivateEpsBearer(), ns3::ApplicationContainer::Add(), ns3::NetDeviceContainer::Add(), ns3::NodeContainer::Add(), ns3::Ipv4StaticRouting::AddNetworkRouteTo(), ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::EpcHelper::AssignUeIpv4Address(), ns3::LteHelper::Attach(), ns3::LteHelper::AttachToClosestEnb(), ns3::NetDeviceContainer::Begin(), ns3::ConfigStore::ConfigureDefaults(), FemtocellBlockAllocator::Create(), ns3::NodeContainer::Create(), ns3::LteHelper::EnableMacTraces(), ns3::LteHelper::EnablePdcpTraces(), ns3::LteHelper::EnableRlcTraces(), ns3::NetDeviceContainer::End(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::EpcHelper::GetPgwNode(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::EpcHelper::GetUeDefaultGatewayAddress(), ns3::PacketSinkHelper::Install(), ns3::RadioEnvironmentMapHelper::Install(), ns3::BulkSendHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::UdpClientHelper::Install(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), ns3::MilliSeconds(), NS_LOG_LOGIC, ns3::CommandLine::Parse(), PrintGnuplottableBuildingListToFile(), PrintGnuplottableEnbListToFile(), PrintGnuplottableUeListToFile(), ns3::Seconds(), ns3::BulkSendHelper::SetAttribute(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::Ipv4StaticRouting::SetDefaultRoute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::LteHelper::SetEnbAntennaModelAttribute(), ns3::LteHelper::SetEnbAntennaModelType(), ns3::LteHelper::SetEnbDeviceAttribute(), ns3::LteHelper::SetEpcHelper(), ns3::LteHelper::SetFadingModelAttribute(), ns3::LteHexGridEnbTopologyHelper::SetLteHelper(), ns3::MobilityHelper::SetMobilityModel(), ns3::LteHelper::SetPathlossModelAttribute(), ns3::MobilityHelper::SetPositionAllocator(), ns3::LteHexGridEnbTopologyHelper::SetPositionAndInstallEnbDevice(), ns3::LteHelper::SetSpectrumChannelType(), ns3::ApplicationContainer::Start(), ns3::Box::xMax, ns3::Box::xMin, ns3::Box::yMax, ns3::Box::yMin, ns3::Box::zMax, and ns3::Box::zMin.
NS_LOG_COMPONENT_DEFINE | ( | "LenaDualStripe" | ) |
void PrintGnuplottableBuildingListToFile | ( | std::string | filename | ) |
Definition at line 143 of file lena-dual-stripe.cc.
References NS_LOG_ERROR, ns3::Box::xMax, ns3::Box::xMin, ns3::Box::yMax, and ns3::Box::yMin.
Referenced by main().
void PrintGnuplottableEnbListToFile | ( | std::string | filename | ) |
Definition at line 194 of file lena-dual-stripe.cc.
References ns3::LteEnbNetDevice::GetCellId(), ns3::Node::GetDevice(), ns3::Node::GetNDevices(), ns3::Object::GetObject(), GetPosition(), NS_LOG_ERROR, ns3::Vector3D::x, and ns3::Vector3D::y.
Referenced by main().
void PrintGnuplottableUeListToFile | ( | std::string | filename | ) |
Definition at line 166 of file lena-dual-stripe.cc.
References ns3::Node::GetDevice(), ns3::LteUeNetDevice::GetImsi(), ns3::Node::GetNDevices(), ns3::Object::GetObject(), GetPosition(), NS_LOG_ERROR, ns3::Vector3D::x, and ns3::Vector3D::y.
Referenced by main().