SNAP Library 6.0, User Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Graph Statistics Sequence. More...
#include <gstat.h>
Public Member Functions | |
TGStatVec (const TTmUnit &_TmUnit=tmu1Sec) | |
TGStatVec (const TTmUnit &_TmUnit, const TFSet &TakeGrowthStat) | |
TGStatVec (const TGStatVec &GStat) | |
TGStatVec (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
TGStatVec & | operator= (const TGStatVec &GStat) |
PGStat | Add () |
PGStat | Add (const TSecTm &Time, const TStr &GraphNm=TStr()) |
void | Add (const PGStat &Growth) |
void | Add (const PNGraph &Graph, const TSecTm &Time, const TStr &GraphNm=TStr()) |
void | Add (const PUNGraph &Graph, const TSecTm &Time, const TStr &GraphNm=TStr()) |
void | Add (const PNEGraph &Graph, const TSecTm &Time, const TStr &GraphNm=TStr()) |
void | Clr () |
void | Sort (const TGStatVal &SortBy=gsvNodes, const bool &Asc=true) |
int | Len () const |
bool | Empty () const |
PGStat | operator[] (const int &ValN) const |
PGStat | At (const int &ValN) const |
PGStat | Last () const |
const TGStatV & | GetGStatV () const |
int | GetTime (const int &ValN) const |
void | Del (const int &ValN) |
void | DelLast () |
void | DelBefore (const TSecTm &Tm) |
void | DelAfter (const TSecTm &Tm) |
void | DelSmallNodes (const int &MinNodes) |
void | SetTmUnit (const TTmUnit &TimeUnit) |
TTmUnit | GetTmUnit () const |
void | SetTakeStat (const TFSet &TakeStatSet) |
bool | HasVal (const TGStatVal &Stat) const |
bool | HasDistr (const TGStatDistr &Stat) const |
void | GetValV (const TGStatVal &XVal, const TGStatVal &YVal, TFltPrV &ValV) const |
PGStat | GetAvgGStat (const bool &ClipAt1=false) |
void | Plot (const TGStatVal &XVal, const TGStatVal &YVal, const TStr &OutFNm, TStr &Desc, const TGpScaleTy &Scale=gpsAuto, const bool &PowerFit=false) const |
void | PlotAllVsX (const TGStatVal &XVal, const TStr &OutFNm, TStr Desc=TStr(), const TGpScaleTy &Scale=gpsAuto, const bool &PowerFit=false) const |
void | ImposeDistr (const TGStatDistr &Distr, const TStr &FNmPref, TStr Desc=TStr(), const bool &ExpBin=false, const bool &PowerFit=false, const TGpSeriesTy &PlotWith=gpwLinesPoints, const TStr &Style="") const |
void | SaveTxt (const TStr &FNmPref, const TStr &Desc) const |
Static Public Member Functions | |
static PGStatVec | New (const TTmUnit &_TmUnit=tmu1Sec) |
static PGStatVec | New (const TTmUnit &_TmUnit, const TFSet &TakeGrowthStat) |
static PGStatVec | Load (TSIn &SIn) |
Static Public Attributes | |
static uint | MinNodesEdges = 10 |
Private Attributes | |
TCRef | CRef |
TTmUnit | TmUnit |
TFSet | StatFSet |
TGStatV | GStatV |
Friends | |
class | TPt< TGStatVec > |
PGStat TGStatVec::Add | ( | ) |
Definition at line 449 of file gstat.cpp.
Definition at line 454 of file gstat.cpp.
Definition at line 459 of file gstat.cpp.
Definition at line 467 of file gstat.cpp.
Definition at line 475 of file gstat.cpp.
void TGStatVec::DelAfter | ( | const TSecTm & | Tm | ) |
void TGStatVec::DelBefore | ( | const TSecTm & | Tm | ) |
void TGStatVec::DelSmallNodes | ( | const int & | MinNodes | ) |
PGStat TGStatVec::GetAvgGStat | ( | const bool & | ClipAt1 = false | ) |
Definition at line 523 of file gstat.cpp.
Definition at line 511 of file gstat.cpp.
|
inline |
|
inline |
void TGStatVec::ImposeDistr | ( | const TGStatDistr & | Distr, |
const TStr & | FNmPref, | ||
TStr | Desc = TStr() , |
||
const bool & | ExpBin = false , |
||
const bool & | PowerFit = false , |
||
const TGpSeriesTy & | PlotWith = gpwLinesPoints , |
||
const TStr & | Style = "" |
||
) | const |
Definition at line 559 of file gstat.cpp.
|
inline |
|
inline |
void TGStatVec::Plot | ( | const TGStatVal & | XVal, |
const TGStatVal & | YVal, | ||
const TStr & | OutFNm, | ||
TStr & | Desc, | ||
const TGpScaleTy & | Scale = gpsAuto , |
||
const bool & | PowerFit = false |
||
) | const |
Definition at line 529 of file gstat.cpp.
void TGStatVec::PlotAllVsX | ( | const TGStatVal & | XVal, |
const TStr & | OutFNm, | ||
TStr | Desc = TStr() , |
||
const TGpScaleTy & | Scale = gpsAuto , |
||
const bool & | PowerFit = false |
||
) | const |
Definition at line 548 of file gstat.cpp.
|
inline |
|
inline |
Definition at line 483 of file gstat.cpp.