SNAP Library 2.0, User Reference  2013-05-13 16:33:57
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
TLocClustStat::TNodeSweep Class Reference

#include <ncp.h>

List of all members.

Public Member Functions

 TNodeSweep ()
 TNodeSweep (const int &SeedNode, const TIntV &SweepNIdV, const TFltV &PhiNIdV)
 TNodeSweep (const TNodeSweep &NS)
int Len () const
int GetSeed () const
int NId (const int i) const
double Phi (const int i) const
bool operator< (const TNodeSweep &CS) const

Public Attributes

TInt SeedNId
TIntV SweepV
TFltV PhiV

Detailed Description

Definition at line 130 of file ncp.h.


Constructor & Destructor Documentation

Definition at line 136 of file ncp.h.

{}
TLocClustStat::TNodeSweep::TNodeSweep ( const int &  SeedNode,
const TIntV SweepNIdV,
const TFltV PhiNIdV 
) [inline]

Definition at line 137 of file ncp.h.

                                                                                  :
      SeedNId(SeedNode), SweepV(SweepNIdV), PhiV(PhiNIdV) { IAssert(SweepV.Len()==PhiV.Len()); }

Definition at line 139 of file ncp.h.

: SeedNId(NS.SeedNId), SweepV(NS.SweepV), PhiV(NS.PhiV) { }

Member Function Documentation

int TLocClustStat::TNodeSweep::GetSeed ( ) const [inline]

Definition at line 141 of file ncp.h.

{ return SeedNId; }
int TLocClustStat::TNodeSweep::Len ( ) const [inline]

Definition at line 140 of file ncp.h.

{ return SweepV.Len(); }
int TLocClustStat::TNodeSweep::NId ( const int  i) const [inline]

Definition at line 142 of file ncp.h.

{ return SweepV[i]; }
bool TLocClustStat::TNodeSweep::operator< ( const TNodeSweep CS) const [inline]

Definition at line 144 of file ncp.h.

{ return Len() < CS.Len(); }
double TLocClustStat::TNodeSweep::Phi ( const int  i) const [inline]

Definition at line 143 of file ncp.h.

{ return PhiV[i]; }

Member Data Documentation

Definition at line 134 of file ncp.h.

Definition at line 132 of file ncp.h.

Definition at line 133 of file ncp.h.


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