SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <network.h>
Public Member Functions | |
TEdge () | |
TEdge (const int &EId, const int &SourceNId, const int &DestNId) | |
TEdge (const int &EId, const int &SourceNId, const int &DestNId, const TEdgeData &EdgeData) | |
TEdge (const TEdge &Edge) | |
TEdge (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
bool | operator< (const TEdge &Edge) const |
int | GetId () const |
int | GetSrcNId () const |
int | GetDstNId () const |
const TEdgeData & | GetDat () const |
TEdgeData & | GetDat () |
Private Attributes | |
TInt | Id |
TInt | SrcNId |
TInt | DstNId |
TEdgeData | EdgeDat |
Friends | |
class | TNodeEdgeNet |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::TEdge | ( | ) | [inline] |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::TEdge | ( | const int & | EId, |
const int & | SourceNId, | ||
const int & | DestNId | ||
) | [inline] |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::TEdge | ( | const int & | EId, |
const int & | SourceNId, | ||
const int & | DestNId, | ||
const TEdgeData & | EdgeData | ||
) | [inline] |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::TEdge | ( | const TEdge & | Edge | ) | [inline] |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::TEdge | ( | TSIn & | SIn | ) | [inline] |
const TEdgeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetDat | ( | ) | const [inline] |
Definition at line 1028 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::EdgeDat.
{ return EdgeDat; }
TEdgeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetDat | ( | ) | [inline] |
Definition at line 1029 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::EdgeDat.
{ return EdgeDat; }
int TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetDstNId | ( | ) | const [inline] |
Definition at line 1027 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::DstNId.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::GetNbrNId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
{ return DstNId; }
int TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetId | ( | ) | const [inline] |
Definition at line 1025 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Id.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
{ return Id; }
int TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetSrcNId | ( | ) | const [inline] |
Definition at line 1026 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::SrcNId.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::GetNbrNId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
{ return SrcNId; }
bool TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::operator< | ( | const TEdge & | Edge | ) | const [inline] |
Definition at line 1024 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::EdgeDat.
{ return EdgeDat < Edge.EdgeDat; }
void TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Save | ( | TSOut & | SOut | ) | const [inline] |
Definition at line 1023 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::DstNId, TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::EdgeDat, TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Id, TInt::Save(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::SrcNId.
friend class TNodeEdgeNet [friend] |
TInt TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::DstNId [private] |
Definition at line 1015 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetDstNId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Save().
TEdgeData TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::EdgeDat [private] |
Definition at line 1016 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetDat(), TNodeEdgeNet< TSecTm, TSecTm >::GetEDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::operator<(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Save().
TInt TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Id [private] |
Definition at line 1015 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Save().
TInt TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::SrcNId [private] |
Definition at line 1015 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::GetSrcNId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdge::Save().