SNAP Library 2.2, User Reference  2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TNEANet::TEdge Class Reference

#include <network.h>

List of all members.

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.

: 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.

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

Definition at line 1619 of file network.h.

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

Definition at line 1620 of file network.h.

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

Member Function Documentation

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

Definition at line 1624 of file network.h.

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

Definition at line 1622 of file network.h.

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

Definition at line 1623 of file network.h.

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

Definition at line 1621 of file network.h.

{ Id.Save(SOut); SrcNId.Save(SOut); DstNId.Save(SOut); }

Friends And Related Function Documentation

friend class TNEANet [friend]

Definition at line 1625 of file network.h.


Member Data Documentation

Definition at line 1615 of file network.h.

Definition at line 1615 of file network.h.

Definition at line 1615 of file network.h.


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