VeloGraphX
High-performance dynamic graph analytics in C++20
Loading...
Searching...
No Matches
velographx::WeightedUpdateBatch Struct Reference

#include <weighted_dynamic_graph.hpp>

Public Member Functions

void add (VertexId u, VertexId v, EdgeWeight w, std::uint64_t ts=0)
 
void remove (VertexId u, VertexId v, std::uint64_t ts=0)
 
void update (VertexId u, VertexId v, EdgeWeight w, std::uint64_t ts=0)
 
bool empty () const noexcept
 

Public Attributes

std::vector< WeightedEdgeUpdateupdates
 

Detailed Description

Definition at line 28 of file weighted_dynamic_graph.hpp.

Member Function Documentation

◆ add()

void velographx::WeightedUpdateBatch::add ( VertexId  u,
VertexId  v,
EdgeWeight  w,
std::uint64_t  ts = 0 
)
inline

Definition at line 31 of file weighted_dynamic_graph.hpp.

References updates.

◆ empty()

bool velographx::WeightedUpdateBatch::empty ( ) const
inlinenoexcept

◆ remove()

void velographx::WeightedUpdateBatch::remove ( VertexId  u,
VertexId  v,
std::uint64_t  ts = 0 
)
inline

Definition at line 35 of file weighted_dynamic_graph.hpp.

References updates.

◆ update()

void velographx::WeightedUpdateBatch::update ( VertexId  u,
VertexId  v,
EdgeWeight  w,
std::uint64_t  ts = 0 
)
inline

Definition at line 39 of file weighted_dynamic_graph.hpp.

References updates.

Member Data Documentation

◆ updates

std::vector<WeightedEdgeUpdate> velographx::WeightedUpdateBatch::updates

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