NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::NodePrio Class Reference

Public Member Functions

 NodePrio (int nodeId, int remainingNh, set< FibNextHop > nhSet)
 
int getId () const
 
int getRemainingUw () const
 
bool operator< (const NodePrio &other) const
 Order by Remamining UW NHs, Highest DeltaCost, and then id. More...
 
FibNextHop popHighestCostUw ()
 
void reduceRemainingNh ()
 

Friends

std::ostream & operator<< (std::ostream &, const NodePrio &node)
 

Detailed Description

Definition at line 62 of file remove-loops.cpp.

Constructor & Destructor Documentation

◆ NodePrio()

ns3::ndn::NodePrio::NodePrio ( int  nodeId,
int  remainingNh,
set< FibNextHop nhSet 
)
inline

Definition at line 64 of file remove-loops.cpp.

Member Function Documentation

◆ getId()

int ns3::ndn::NodePrio::getId ( ) const
inline

Definition at line 74 of file remove-loops.cpp.

Referenced by ns3::ndn::removeLoops().

◆ getRemainingUw()

int ns3::ndn::NodePrio::getRemainingUw ( ) const
inline

Definition at line 80 of file remove-loops.cpp.

Referenced by ns3::ndn::operator<<(), reduceRemainingNh(), and ns3::ndn::removeLoops().

◆ operator<()

bool ns3::ndn::NodePrio::operator< ( const NodePrio other) const
inline

Order by Remamining UW NHs, Highest DeltaCost, and then id.

Definition at line 88 of file remove-loops.cpp.

◆ popHighestCostUw()

FibNextHop ns3::ndn::NodePrio::popHighestCostUw ( )
inline

Definition at line 97 of file remove-loops.cpp.

Referenced by ns3::ndn::removeLoops().

◆ reduceRemainingNh()

void ns3::ndn::NodePrio::reduceRemainingNh ( )
inline

Definition at line 105 of file remove-loops.cpp.

References getRemainingUw().

Referenced by ns3::ndn::removeLoops().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const NodePrio node 
)
friend

Definition at line 138 of file remove-loops.cpp.


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