Code Documentation 3.6
Social Network Visualizer
Loading...
Searching...
No Matches
PerSourceScratch Struct Reference

#include <engine/per_source_scratch.h>

Public Member Functions

void allocate (int totalVertices)
void resetPerSource (bool computeCentralities)
void nthOrderIncrement (qreal d)

Public Attributes

std::stack< int > Stack
QVector< QList< int > > Ps
QVector< qreal > delta
QVector< qreal > dist
QVector< int > sigma
QHash< qreal, int > nthOrder
int componentSize = 0
qreal sourceDistanceSum = 0
int sourceGeodesicsCount = 0
int sourceDiameter = 0

Member Function Documentation

◆ allocate()

void PerSourceScratch::allocate ( int totalVertices)
inline

◆ nthOrderIncrement()

void PerSourceScratch::nthOrderIncrement ( qreal d)
inline

◆ resetPerSource()

void PerSourceScratch::resetPerSource ( bool computeCentralities)
inline

Member Data Documentation

◆ componentSize

int PerSourceScratch::componentSize = 0

◆ delta

QVector<qreal> PerSourceScratch::delta

◆ dist

QVector<qreal> PerSourceScratch::dist

◆ nthOrder

QHash<qreal, int> PerSourceScratch::nthOrder

◆ Ps

QVector<QList<int> > PerSourceScratch::Ps

◆ sigma

QVector<int> PerSourceScratch::sigma

◆ sourceDiameter

int PerSourceScratch::sourceDiameter = 0

◆ sourceDistanceSum

qreal PerSourceScratch::sourceDistanceSum = 0

◆ sourceGeodesicsCount

int PerSourceScratch::sourceGeodesicsCount = 0

◆ Stack

std::stack<int> PerSourceScratch::Stack

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