Public Member Functions | Static Public Member Functions

ns3::RocketfuelTopologyReader Class Reference
[Topology Input Readers]

Topology file reader (Rocketfuel-format type). More...

#include <rocketfuel-topology-reader.h>

Inheritance diagram for ns3::RocketfuelTopologyReader:
Inheritance graph
[legend]
Collaboration diagram for ns3::RocketfuelTopologyReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual NodeContainer Read (void)
 Main topology reading function.

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::RocketfuelTopologyReader.

Detailed Description

Topology file reader (Rocketfuel-format type).

http://www.cs.washington.edu/research/networking/rocketfuel/

May 2nd, 2010: Currently only support "weights" file and "cch" file. http://www.cs.washington.edu/research/networking/rocketfuel/maps/weights-dist.tar.gz http://www.cs.washington.edu/research/networking/rocketfuel/maps/rocketfuel_maps_cch.tar.gz


Member Function Documentation

static TypeId ns3::RocketfuelTopologyReader::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::RocketfuelTopologyReader.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/NoiseModel/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/PropagationModel/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Mac/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Phy/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Transducer/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/NoiseModel/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/PropagationModel/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/NoiseModel/$ns3::RocketfuelTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/PropagationModel/$ns3::RocketfuelTopologyReader

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::TopologyReader.

virtual NodeContainer ns3::RocketfuelTopologyReader::Read ( void   )  [virtual]

Main topology reading function.

This method opens an input stream and reads the Rocketfuel-format file. Every row represents a topology link (the ids of a couple of nodes), so the input file is read line by line to figure out how many links and nodes are in the topology.

Returns:
the container of the nodes created (or empty container if there was an error)

Implements ns3::TopologyReader.


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