ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::WeightChanged< W > Struct Template Reference

the weight of an edge changed from from to to More...

#include <ADS/graph/Observable.h>

Public member functions

bool operator== (const WeightChanged &) const =default
 whether the two events are the same

Public attributes

int u
 the tail
int v
 the head
W from
 the weight before
W to
 the weight after

Static public attributes

static constexpr unsigned effects = mod::effect::up | mod::effect::down

Detailed description

template<class W>
struct ADS::WeightChanged< W >

the weight of an edge changed from from to to

Member function documentation

◆ operator==()

template<class W>
bool ADS::WeightChanged< W >::operator== ( const WeightChanged< W > & ) const
default

whether the two events are the same

Member data documentation

◆ effects

template<class W>
unsigned ADS::WeightChanged< W >::effects = mod::effect::up | mod::effect::down
staticconstexpr

◆ from

template<class W>
W ADS::WeightChanged< W >::from

the weight before

◆ to

template<class W>
W ADS::WeightChanged< W >::to

the weight after

◆ u

template<class W>
int ADS::WeightChanged< W >::u

the tail

◆ v

template<class W>
int ADS::WeightChanged< W >::v

the head


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