SNAP Library 3.0, User Reference  2016-07-20 17:56:49
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>

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 1617 of file network.h.

Constructor & Destructor Documentation

TNEANet::TEdge::TEdge ( )
inline

Definition at line 1621 of file network.h.

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

Definition at line 1622 of file network.h.

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

Definition at line 1623 of file network.h.

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

Definition at line 1624 of file network.h.

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

Member Function Documentation

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

Definition at line 1628 of file network.h.

1628 { return DstNId; }
int TNEANet::TEdge::GetId ( ) const
inline

Definition at line 1626 of file network.h.

1626 { return Id; }
int TNEANet::TEdge::GetSrcNId ( ) const
inline

Definition at line 1627 of file network.h.

1627 { return SrcNId; }
void TNEANet::TEdge::Save ( TSOut SOut) const
inline

Definition at line 1625 of file network.h.

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

Friends And Related Function Documentation

friend class TNEANet
friend

Definition at line 1629 of file network.h.

Member Data Documentation

TInt TNEANet::TEdge::DstNId
private

Definition at line 1619 of file network.h.

TInt TNEANet::TEdge::Id
private

Definition at line 1619 of file network.h.

TInt TNEANet::TEdge::SrcNId
private

Definition at line 1619 of file network.h.


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