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::TAIntVI Class Reference

#include <network.h>

Public Member Functions

 TAIntVI ()
 
 TAIntVI (const TIntVVecIter &HIter, TStr attribute, bool isEdgeIter, const TNEANet *GraphPt)
 
 TAIntVI (const TAIntVI &I)
 
TAIntVIoperator= (const TAIntVI &I)
 
bool operator< (const TAIntVI &I) const
 
bool operator== (const TAIntVI &I) const
 
TIntV GetDat () const
 Returns an attribute of the node. More...
 
TAIntVIoperator++ (int)
 

Private Types

typedef TVec< TIntV >::TIter TIntVVecIter
 

Private Attributes

TIntVVecIter HI
 
bool isNode
 
TStr attr
 
const TNEANetGraph
 

Friends

class TNEANet
 

Detailed Description

Definition at line 1773 of file network.h.

Member Typedef Documentation

typedef TVec<TIntV>::TIter TNEANet::TAIntVI::TIntVVecIter
private

Definition at line 1775 of file network.h.

Constructor & Destructor Documentation

TNEANet::TAIntVI::TAIntVI ( )
inline

Definition at line 1781 of file network.h.

1781 : HI(), attr(), Graph(NULL) { }
const TNEANet * Graph
Definition: network.h:1779
TIntVVecIter HI
Definition: network.h:1776
TNEANet::TAIntVI::TAIntVI ( const TIntVVecIter HIter,
TStr  attribute,
bool  isEdgeIter,
const TNEANet GraphPt 
)
inline

Definition at line 1782 of file network.h.

1782 : HI(HIter), attr(), Graph(GraphPt) { isNode = !isEdgeIter; attr = attribute; }
const TNEANet * Graph
Definition: network.h:1779
TIntVVecIter HI
Definition: network.h:1776
TNEANet::TAIntVI::TAIntVI ( const TAIntVI I)
inline

Definition at line 1783 of file network.h.

1783 : HI(I.HI), attr(I.attr), Graph(I.Graph) { isNode = I.isNode; }
const TNEANet * Graph
Definition: network.h:1779
TIntVVecIter HI
Definition: network.h:1776

Member Function Documentation

TIntV TNEANet::TAIntVI::GetDat ( ) const
inline

Returns an attribute of the node.

Definition at line 1788 of file network.h.

1788 { return HI[0]; }
TIntVVecIter HI
Definition: network.h:1776
TAIntVI& TNEANet::TAIntVI::operator++ ( int  )
inline

Definition at line 1789 of file network.h.

1789 { HI++; return *this; }
TIntVVecIter HI
Definition: network.h:1776
bool TNEANet::TAIntVI::operator< ( const TAIntVI I) const
inline

Definition at line 1785 of file network.h.

1785 { return HI < I.HI; }
TIntVVecIter HI
Definition: network.h:1776
TAIntVI& TNEANet::TAIntVI::operator= ( const TAIntVI I)
inline

Definition at line 1784 of file network.h.

1784 { HI = I.HI; Graph=I.Graph; isNode = I.isNode; attr = I.attr; return *this; }
const TNEANet * Graph
Definition: network.h:1779
TIntVVecIter HI
Definition: network.h:1776
bool TNEANet::TAIntVI::operator== ( const TAIntVI I) const
inline

Definition at line 1786 of file network.h.

1786 { return HI == I.HI; }
TIntVVecIter HI
Definition: network.h:1776

Friends And Related Function Documentation

friend class TNEANet
friend

Definition at line 1790 of file network.h.

Member Data Documentation

TStr TNEANet::TAIntVI::attr
private

Definition at line 1778 of file network.h.

const TNEANet* TNEANet::TAIntVI::Graph
private

Definition at line 1779 of file network.h.

TIntVVecIter TNEANet::TAIntVI::HI
private

Definition at line 1776 of file network.h.

bool TNEANet::TAIntVI::isNode
private

Definition at line 1777 of file network.h.


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