SNAP Library 2.4, Developer Reference  2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TNEANet::TEdge Class Reference

#include <network.h>

Collaboration diagram for TNEANet::TEdge:

Public Member Functions

 TEdge ()
 
 TEdge (const int &EId, const int &SourceNId, const int &DestNId)
 
 TEdge (const TEdge &Edge)
 
 TEdge (TSIn &SIn)
 
void Save (TSOut &SOut) const
 
int GetId () const
 
int GetSrcNId () const
 
int GetDstNId () const
 

Private Attributes

TInt Id
 
TInt SrcNId
 
TInt DstNId
 

Friends

class TNEANet
 

Detailed Description

Definition at line 1613 of file network.h.

Constructor & Destructor Documentation

TNEANet::TEdge::TEdge ( )
inline

Definition at line 1617 of file network.h.

1617 : Id(-1), SrcNId(-1), DstNId(-1) { }
TNEANet::TEdge::TEdge ( const int &  EId,
const int &  SourceNId,
const int &  DestNId 
)
inline

Definition at line 1618 of file network.h.

1618 : Id(EId), SrcNId(SourceNId), DstNId(DestNId) { }
TNEANet::TEdge::TEdge ( const TEdge Edge)
inline

Definition at line 1619 of file network.h.

1619 : Id(Edge.Id), SrcNId(Edge.SrcNId), DstNId(Edge.DstNId) { }
TNEANet::TEdge::TEdge ( TSIn SIn)
inline

Definition at line 1620 of file network.h.

1620 : Id(SIn), SrcNId(SIn), DstNId(SIn) { }

Member Function Documentation

int TNEANet::TEdge::GetDstNId ( ) const
inline

Definition at line 1624 of file network.h.

Referenced by TNEANet::DelEdge(), TNEANet::DelNode(), TNEANet::TNodeI::GetNbrNId(), TNEANet::IsEdge(), and TNEANet::IsOk().

1624 { return DstNId; }

Here is the caller graph for this function:

int TNEANet::TEdge::GetId ( ) const
inline

Definition at line 1622 of file network.h.

Referenced by TNEANet::IsEdge(), and TNEANet::IsOk().

1622 { return Id; }

Here is the caller graph for this function:

int TNEANet::TEdge::GetSrcNId ( ) const
inline

Definition at line 1623 of file network.h.

Referenced by TNEANet::DelEdge(), TNEANet::DelNode(), TNEANet::TNodeI::GetNbrNId(), TNEANet::IsEdge(), and TNEANet::IsOk().

1623 { return SrcNId; }

Here is the caller graph for this function:

void TNEANet::TEdge::Save ( TSOut SOut) const
inline

Definition at line 1621 of file network.h.

1621 { Id.Save(SOut); SrcNId.Save(SOut); DstNId.Save(SOut); }
void Save(TSOut &SOut) const
Definition: dt.h:1058

Friends And Related Function Documentation

friend class TNEANet
friend

Definition at line 1625 of file network.h.

Member Data Documentation

TInt TNEANet::TEdge::DstNId
private

Definition at line 1615 of file network.h.

TInt TNEANet::TEdge::Id
private

Definition at line 1615 of file network.h.

TInt TNEANet::TEdge::SrcNId
private

Definition at line 1615 of file network.h.


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