SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <graph.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 | TNEGraph |
TNEGraph::TEdge::TEdge | ( | ) | [inline] |
TNEGraph::TEdge::TEdge | ( | const int & | EId, |
const int & | SourceNId, | ||
const int & | DestNId | ||
) | [inline] |
TNEGraph::TEdge::TEdge | ( | const TEdge & | Edge | ) | [inline] |
TNEGraph::TEdge::TEdge | ( | TSIn & | SIn | ) | [inline] |
int TNEGraph::TEdge::GetDstNId | ( | ) | const [inline] |
Definition at line 592 of file graph.h.
References DstNId.
Referenced by TNEGraph::DelEdge(), TNEGraph::DelNode(), TNEGraph::TNodeI::GetNbrNId(), TNEGraph::IsEdge(), and TNEGraph::IsOk().
{ return DstNId; }
int TNEGraph::TEdge::GetId | ( | ) | const [inline] |
Definition at line 590 of file graph.h.
References Id.
Referenced by TNEGraph::IsEdge(), and TNEGraph::IsOk().
{ return Id; }
int TNEGraph::TEdge::GetSrcNId | ( | ) | const [inline] |
Definition at line 591 of file graph.h.
References SrcNId.
Referenced by TNEGraph::DelEdge(), TNEGraph::DelNode(), TNEGraph::TNodeI::GetNbrNId(), TNEGraph::IsEdge(), and TNEGraph::IsOk().
{ return SrcNId; }
void TNEGraph::TEdge::Save | ( | TSOut & | SOut | ) | const [inline] |
TInt TNEGraph::TEdge::DstNId [private] |
Definition at line 583 of file graph.h.
Referenced by GetDstNId(), and Save().
TInt TNEGraph::TEdge::Id [private] |
TInt TNEGraph::TEdge::SrcNId [private] |
Definition at line 583 of file graph.h.
Referenced by GetSrcNId(), and Save().