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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TLocClustStat::TNodeSweep Class Reference

#include <ncp.h>

Collaboration diagram for TLocClustStat::TNodeSweep:

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.

References IAssert, TVec< TVal, TSizeTy >::Len(), PhiV, and SweepV.

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

Here is the call graph for this function:

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.

References SeedNId.

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

Definition at line 140 of file ncp.h.

References TVec< TVal, TSizeTy >::Len(), and SweepV.

Referenced by TLocClustStat::FindBestCut(), and operator<().

{ return SweepV.Len(); }

Here is the call graph for this function:

Here is the caller graph for this function:

int TLocClustStat::TNodeSweep::NId ( const int  i) const [inline]

Definition at line 142 of file ncp.h.

References SweepV.

Referenced by TLocClustStat::FindBestCut().

{ return SweepV[i]; }

Here is the caller graph for this function:

bool TLocClustStat::TNodeSweep::operator< ( const TNodeSweep CS) const [inline]

Definition at line 144 of file ncp.h.

References Len().

{ return Len() < CS.Len(); }

Here is the call graph for this function:

double TLocClustStat::TNodeSweep::Phi ( const int  i) const [inline]

Definition at line 143 of file ncp.h.

References PhiV.

Referenced by TLocClustStat::FindBestCut().

{ return PhiV[i]; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 134 of file ncp.h.

Referenced by Phi(), and TNodeSweep().

Definition at line 132 of file ncp.h.

Referenced by GetSeed().

Definition at line 133 of file ncp.h.

Referenced by Len(), NId(), and TNodeSweep().


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