SNAP Library 2.1, User Reference  2013-09-25 10:47:25
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
TNEGraph::TEdge Class Reference

#include <graph.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 TNEGraph

Detailed Description

Definition at line 582 of file graph.h.


Constructor & Destructor Documentation

TNEGraph::TEdge::TEdge ( ) [inline]

Definition at line 586 of file graph.h.

: Id(-1), SrcNId(-1), DstNId(-1) { }
TNEGraph::TEdge::TEdge ( const int &  EId,
const int &  SourceNId,
const int &  DestNId 
) [inline]

Definition at line 587 of file graph.h.

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

Definition at line 588 of file graph.h.

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

Definition at line 589 of file graph.h.

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

Member Function Documentation

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

Definition at line 593 of file graph.h.

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

Definition at line 591 of file graph.h.

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

Definition at line 592 of file graph.h.

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

Definition at line 590 of file graph.h.

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

Friends And Related Function Documentation

friend class TNEGraph [friend]

Definition at line 594 of file graph.h.


Member Data Documentation

Definition at line 584 of file graph.h.

Definition at line 584 of file graph.h.

Definition at line 584 of file graph.h.


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