Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimNodeCluster Class Reference

#include <NIVissimNodeCluster.h>

Collaboration diagram for NIVissimNodeCluster:
[legend]

Public Member Functions

void buildNBNode (NBNodeCont &nc)
 
int getID () const
 
NBNodegetNBNode () const
 
std::string getNodeName () const
 
Position getPos () const
 
 NIVissimNodeCluster (int id, int nodeid, int tlid, const std::vector< int > &connectors, const std::vector< int > &disturbances, bool amEdgeSplitOnly)
 
bool recheckEdgeChanges ()
 
 ~NIVissimNodeCluster ()
 

Static Public Member Functions

static void _debugOut (std::ostream &into)
 
static void assignToEdges ()
 
static void buildNBNodes (NBNodeCont &nc)
 
static void clearDict ()
 
static int contSize ()
 
static void dict_addDisturbances (NBDistrictCont &dc, NBNodeCont &nc, NBEdgeCont &ec)
 
static void dict_recheckEdgeChanges ()
 
static NIVissimNodeClusterdictionary (int id)
 
static bool dictionary (int id, NIVissimNodeCluster *o)
 
static int dictionary (int nodeid, int tlid, const std::vector< int > &connectors, const std::vector< int > &disturbances, bool amEdgeSplitOnly)
 
static int getFromNode (int edgeid)
 
static int getToNode (int edgeid)
 
static void setCurrentVirtID (int id)
 

Private Types

typedef std::map< int, NIVissimNodeCluster * > DictType
 

Private Attributes

bool myAmEdgeSplit
 
std::vector< int > myConnectors
 
std::vector< int > myDisturbances
 
int myID
 
NBNodemyNBNode
 
int myNodeID
 
Position myPosition
 
int myTLID
 

Static Private Attributes

static int myCurrentID = 1
 
static DictType myDict
 

Detailed Description

Definition at line 43 of file NIVissimNodeCluster.h.

Member Typedef Documentation

◆ DictType

typedef std::map<int, NIVissimNodeCluster*> NIVissimNodeCluster::DictType
private

Definition at line 86 of file NIVissimNodeCluster.h.

Constructor & Destructor Documentation

◆ NIVissimNodeCluster()

NIVissimNodeCluster::NIVissimNodeCluster ( int  id,
int  nodeid,
int  tlid,
const std::vector< int > &  connectors,
const std::vector< int > &  disturbances,
bool  amEdgeSplitOnly 
)

Definition at line 49 of file NIVissimNodeCluster.cpp.

◆ ~NIVissimNodeCluster()

NIVissimNodeCluster::~NIVissimNodeCluster ( )

Definition at line 58 of file NIVissimNodeCluster.cpp.

Member Function Documentation

◆ _debugOut()

void NIVissimNodeCluster::_debugOut ( std::ostream &  into)
static

Definition at line 240 of file NIVissimNodeCluster.cpp.

References myConnectors, myDict, and myID.

◆ assignToEdges()

static void NIVissimNodeCluster::assignToEdges ( )
static

◆ buildNBNode()

◆ buildNBNodes()

void NIVissimNodeCluster::buildNBNodes ( NBNodeCont nc)
static

Definition at line 180 of file NIVissimNodeCluster.cpp.

References myDict.

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

◆ clearDict()

void NIVissimNodeCluster::clearDict ( )
static

Definition at line 284 of file NIVissimNodeCluster.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ contSize()

int NIVissimNodeCluster::contSize ( )
static

Definition at line 103 of file NIVissimNodeCluster.cpp.

References myDict.

◆ dict_addDisturbances()

void NIVissimNodeCluster::dict_addDisturbances ( NBDistrictCont dc,
NBNodeCont nc,
NBEdgeCont ec 
)
static

Definition at line 269 of file NIVissimNodeCluster.cpp.

References NIVissimDisturbance::addToNode(), NIVissimDisturbance::dictionary(), myDict, NIVissimDisturbance::reportRefused(), and NBNodeCont::retrieve().

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

◆ dict_recheckEdgeChanges()

void NIVissimNodeCluster::dict_recheckEdgeChanges ( )
static

Definition at line 189 of file NIVissimNodeCluster.cpp.

◆ dictionary() [1/3]

NIVissimNodeCluster * NIVissimNodeCluster::dictionary ( int  id)
static

Definition at line 92 of file NIVissimNodeCluster.cpp.

References myDict.

◆ dictionary() [2/3]

bool NIVissimNodeCluster::dictionary ( int  id,
NIVissimNodeCluster o 
)
static

Definition at line 64 of file NIVissimNodeCluster.cpp.

References myDict.

Referenced by NIVissimConnection::buildNodeClusters(), NIVissimConnectionCluster::buildNodeClusters(), dictionary(), and NIVissimConnectionCluster::getNBNode().

Here is the caller graph for this function:

◆ dictionary() [3/3]

int NIVissimNodeCluster::dictionary ( int  nodeid,
int  tlid,
const std::vector< int > &  connectors,
const std::vector< int > &  disturbances,
bool  amEdgeSplitOnly 
)
static

Definition at line 76 of file NIVissimNodeCluster.cpp.

References dictionary(), and myCurrentID.

◆ getFromNode()

int NIVissimNodeCluster::getFromNode ( int  edgeid)
static

◆ getID()

int NIVissimNodeCluster::getID ( ) const
inline

Definition at line 50 of file NIVissimNodeCluster.h.

References myID.

◆ getNBNode()

NBNode * NIVissimNodeCluster::getNBNode ( ) const

Definition at line 257 of file NIVissimNodeCluster.cpp.

References myNBNode.

◆ getNodeName()

std::string NIVissimNodeCluster::getNodeName ( ) const

Definition at line 110 of file NIVissimNodeCluster.cpp.

References myID, and myTLID.

Referenced by buildNBNode().

Here is the caller graph for this function:

◆ getPos()

Position NIVissimNodeCluster::getPos ( ) const

Definition at line 263 of file NIVissimNodeCluster.cpp.

References myPosition.

◆ getToNode()

int NIVissimNodeCluster::getToNode ( int  edgeid)
static

◆ recheckEdgeChanges()

bool NIVissimNodeCluster::recheckEdgeChanges ( )

◆ setCurrentVirtID()

void NIVissimNodeCluster::setCurrentVirtID ( int  id)
static

Definition at line 293 of file NIVissimNodeCluster.cpp.

References myCurrentID.

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

Field Documentation

◆ myAmEdgeSplit

bool NIVissimNodeCluster::myAmEdgeSplit
private

Definition at line 90 of file NIVissimNodeCluster.h.

Referenced by buildNBNode().

◆ myConnectors

std::vector<int> NIVissimNodeCluster::myConnectors
private

Definition at line 83 of file NIVissimNodeCluster.h.

Referenced by _debugOut(), buildNBNode(), getFromNode(), and getToNode().

◆ myCurrentID

int NIVissimNodeCluster::myCurrentID = 1
staticprivate

Definition at line 88 of file NIVissimNodeCluster.h.

Referenced by dictionary(), and setCurrentVirtID().

◆ myDict

◆ myDisturbances

std::vector<int> NIVissimNodeCluster::myDisturbances
private

Definition at line 84 of file NIVissimNodeCluster.h.

◆ myID

int NIVissimNodeCluster::myID
private

Definition at line 80 of file NIVissimNodeCluster.h.

Referenced by _debugOut(), getID(), and getNodeName().

◆ myNBNode

NBNode* NIVissimNodeCluster::myNBNode
private

Definition at line 89 of file NIVissimNodeCluster.h.

Referenced by buildNBNode(), and getNBNode().

◆ myNodeID

int NIVissimNodeCluster::myNodeID
private

Definition at line 81 of file NIVissimNodeCluster.h.

◆ myPosition

Position NIVissimNodeCluster::myPosition
private

Definition at line 85 of file NIVissimNodeCluster.h.

Referenced by getPos().

◆ myTLID

int NIVissimNodeCluster::myTLID
private

Definition at line 82 of file NIVissimNodeCluster.h.

Referenced by getNodeName().


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