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
TEdgeInfo Class Reference

#include <cascnetinf.h>

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.

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:1060
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

Member Data Documentation

TFlt TEdgeInfo::AverageTimeDiff

Definition at line 65 of file cascnetinf.h.

TFlt TEdgeInfo::MarginalBound

Definition at line 65 of file cascnetinf.h.

TFlt TEdgeInfo::MarginalGain

Definition at line 65 of file cascnetinf.h.

TFlt TEdgeInfo::MedianTimeDiff

Definition at line 65 of file cascnetinf.h.

TInt TEdgeInfo::Vol

Definition at line 64 of file cascnetinf.h.


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