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

an edge \( ( u , v ) \), or \( [ u , v ] \) with \( u < v \), inserted with the weight \( w \) More...

#include <ADS/graph/Observable.h>

Public member functions

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

Public attributes

int u
 the tail
int v
 the head
W w
 the weight

Static public attributes

static constexpr unsigned effects = mod::effect::grows
 it grows

Detailed description

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

an edge \( ( u , v ) \), or \( [ u , v ] \) with \( u < v \), inserted with the weight \( w \)

Member function documentation

◆ operator==()

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

whether the two events are the same

Member data documentation

◆ effects

template<class W>
unsigned ADS::EdgeInserted< W >::effects = mod::effect::grows
staticconstexpr

it grows

◆ u

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

the tail

◆ v

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

the head

◆ w

template<class W>
W ADS::EdgeInserted< W >::w

the weight


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