SNAP Library 4.0, Developer Reference  2017-07-27 13:18:06
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
TEdgeInfo Class Reference

#include <cascnetinf.h>

Collaboration diagram for TEdgeInfo:

Public Member Functions

 TEdgeInfo ()
 
 TEdgeInfo (const int &v, const double &mg, const double &mb, const double &mt, const double &at)
 
 TEdgeInfo (const int &v, const double &mg, const double &mt, const double &at)
 
 TEdgeInfo (TSIn &SIn)
 
void Save (TSOut &SOut) const
 

Public Attributes

TInt Vol
 
TFlt MarginalGain
 
TFlt MarginalBound
 
TFlt MedianTimeDiff
 
TFlt AverageTimeDiff
 

Detailed Description

Definition at line 62 of file cascnetinf.h.

Constructor & Destructor Documentation

TEdgeInfo::TEdgeInfo ( )
inline

Definition at line 67 of file cascnetinf.h.

67 { }
TEdgeInfo::TEdgeInfo ( const int &  v,
const double &  mg,
const double &  mb,
const double &  mt,
const double &  at 
)
inline

Definition at line 68 of file cascnetinf.h.

72  : Vol(v), MarginalGain(mg), MarginalBound(mb), MedianTimeDiff(mt), AverageTimeDiff(at) { }
TFlt MarginalGain
Definition: cascnetinf.h:65
TFlt MedianTimeDiff
Definition: cascnetinf.h:65
TFlt MarginalBound
Definition: cascnetinf.h:65
TFlt AverageTimeDiff
Definition: cascnetinf.h:65
TInt Vol
Definition: cascnetinf.h:64
TEdgeInfo::TEdgeInfo ( const int &  v,
const double &  mg,
const double &  mt,
const double &  at 
)
inline

Definition at line 73 of file cascnetinf.h.

76  : Vol(v), MarginalGain(mg), MarginalBound(0), MedianTimeDiff(mt), AverageTimeDiff(at) { }
TFlt MarginalGain
Definition: cascnetinf.h:65
TFlt MedianTimeDiff
Definition: cascnetinf.h:65
TFlt MarginalBound
Definition: cascnetinf.h:65
TFlt AverageTimeDiff
Definition: cascnetinf.h:65
TInt Vol
Definition: cascnetinf.h:64
TEdgeInfo::TEdgeInfo ( TSIn SIn)
inline

Definition at line 77 of file cascnetinf.h.

77 : Vol(SIn), MarginalGain(SIn), MarginalBound(SIn), MedianTimeDiff(SIn), AverageTimeDiff(SIn) { }
TFlt MarginalGain
Definition: cascnetinf.h:65
TFlt MedianTimeDiff
Definition: cascnetinf.h:65
TFlt MarginalBound
Definition: cascnetinf.h:65
TFlt AverageTimeDiff
Definition: cascnetinf.h:65
TInt Vol
Definition: cascnetinf.h:64

Member Function Documentation

void TEdgeInfo::Save ( TSOut SOut) const
inline

Definition at line 78 of file cascnetinf.h.

References AverageTimeDiff, MarginalBound, MarginalGain, MedianTimeDiff, TSOut::Save(), TInt::Save(), and Vol.

78 { Vol.Save(SOut); SOut.Save(MarginalGain); SOut.Save(MarginalBound); SOut.Save(MedianTimeDiff); SOut.Save(AverageTimeDiff); } //
TFlt MarginalGain
Definition: cascnetinf.h:65
void Save(TSOut &SOut) const
Definition: dt.h:1150
TFlt MedianTimeDiff
Definition: cascnetinf.h:65
TFlt MarginalBound
Definition: cascnetinf.h:65
void Save(const bool &Bool)
Definition: fl.h:173
TFlt AverageTimeDiff
Definition: cascnetinf.h:65
TInt Vol
Definition: cascnetinf.h:64

Here is the call graph for this function:

Member Data Documentation

TFlt TEdgeInfo::AverageTimeDiff

Definition at line 65 of file cascnetinf.h.

Referenced by Save(), and TNetInfBs::SaveEdgeInfo().

TFlt TEdgeInfo::MarginalBound

Definition at line 65 of file cascnetinf.h.

Referenced by Save().

TFlt TEdgeInfo::MarginalGain

Definition at line 65 of file cascnetinf.h.

Referenced by Save(), and TNetInfBs::SaveEdgeInfo().

TFlt TEdgeInfo::MedianTimeDiff

Definition at line 65 of file cascnetinf.h.

Referenced by Save(), and TNetInfBs::SaveEdgeInfo().

TInt TEdgeInfo::Vol

Definition at line 64 of file cascnetinf.h.

Referenced by Save(), and TNetInfBs::SaveEdgeInfo().


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