All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NetworKit::GraphEvent Class Reference

#include <GraphEvent.h>

Public Types

enum  Type {
  NODE_ADDITION, NODE_REMOVAL, NODE_RESTORATION, EDGE_ADDITION,
  EDGE_REMOVAL, EDGE_WEIGHT_UPDATE, EDGE_WEIGHT_INCREMENT, TIME_STEP
}
 

Public Member Functions

 GraphEvent ()=default
 
 GraphEvent (Type type, node u=none, node v=none, edgeweight w=1.0)
 
std::string toString ()
 Return string representation. More...
 

Static Public Member Functions

static bool compare (GraphEvent a, GraphEvent b)
 
static bool equal (GraphEvent a, GraphEvent b)
 

Public Attributes

Type type
 type of graph event More...
 
node u
 first node parameter More...
 
node v
 second node parameter More...
 
edgeweight w
 edge weight parameter More...
 

Member Enumeration Documentation

Enumerator
NODE_ADDITION 
NODE_REMOVAL 
NODE_RESTORATION 
EDGE_ADDITION 
EDGE_REMOVAL 
EDGE_WEIGHT_UPDATE 
EDGE_WEIGHT_INCREMENT 
TIME_STEP 

Constructor & Destructor Documentation

NetworKit::GraphEvent::GraphEvent ( )
default
NetworKit::GraphEvent::GraphEvent ( GraphEvent::Type  type,
node  u = none,
node  v = none,
edgeweight  w = 1.0 
)

Member Function Documentation

bool NetworKit::GraphEvent::compare ( GraphEvent  a,
GraphEvent  b 
)
static
bool NetworKit::GraphEvent::equal ( GraphEvent  a,
GraphEvent  b 
)
static
std::string NetworKit::GraphEvent::toString ( )

Return string representation.

Member Data Documentation

Type NetworKit::GraphEvent::type

type of graph event

node NetworKit::GraphEvent::u

first node parameter

node NetworKit::GraphEvent::v

second node parameter

edgeweight NetworKit::GraphEvent::w

edge weight parameter


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