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

#include <temporal_graph.hpp>

Public Member Functions

 TemporalGraph (std::size_t vertices=0, bool directed=false)
 
const DynamicGraphgraph () const noexcept
 
std::uint64_t version () const noexcept
 
const std::vector< VersionedUpdateBatch > & history () const noexcept
 
void apply (const UpdateBatch &batch)
 
DynamicGraph snapshot_version (std::uint64_t version) const
 
DynamicGraph snapshot_time (std::uint64_t timestamp) const
 
std::vector< EdgeUpdatechanges_between_versions (std::uint64_t from_exclusive, std::uint64_t to_inclusive) const
 
std::vector< EdgeUpdatechanges_between_times (std::uint64_t from_exclusive, std::uint64_t to_inclusive) const
 
DynamicGraph sliding_window (std::uint64_t end_timestamp, std::uint64_t window_width) const
 

Detailed Description

Definition at line 21 of file temporal_graph.hpp.

Constructor & Destructor Documentation

◆ TemporalGraph()

velographx::TemporalGraph::TemporalGraph ( std::size_t  vertices = 0,
bool  directed = false 
)
inlineexplicit

Definition at line 23 of file temporal_graph.hpp.

Member Function Documentation

◆ apply()

void velographx::TemporalGraph::apply ( const UpdateBatch batch)
inline

◆ changes_between_times()

std::vector< EdgeUpdate > velographx::TemporalGraph::changes_between_times ( std::uint64_t  from_exclusive,
std::uint64_t  to_inclusive 
) const
inline

Definition at line 77 of file temporal_graph.hpp.

◆ changes_between_versions()

std::vector< EdgeUpdate > velographx::TemporalGraph::changes_between_versions ( std::uint64_t  from_exclusive,
std::uint64_t  to_inclusive 
) const
inline

Definition at line 64 of file temporal_graph.hpp.

References velographx::DynamicGraph::version().

◆ graph()

const DynamicGraph & velographx::TemporalGraph::graph ( ) const
inlinenoexcept

Definition at line 26 of file temporal_graph.hpp.

◆ history()

const std::vector< VersionedUpdateBatch > & velographx::TemporalGraph::history ( ) const
inlinenoexcept

Definition at line 28 of file temporal_graph.hpp.

◆ sliding_window()

DynamicGraph velographx::TemporalGraph::sliding_window ( std::uint64_t  end_timestamp,
std::uint64_t  window_width 
) const
inline

◆ snapshot_time()

DynamicGraph velographx::TemporalGraph::snapshot_time ( std::uint64_t  timestamp) const
inline

◆ snapshot_version()

DynamicGraph velographx::TemporalGraph::snapshot_version ( std::uint64_t  version) const
inline

◆ version()

std::uint64_t velographx::TemporalGraph::version ( ) const
inlinenoexcept

Definition at line 27 of file temporal_graph.hpp.

References velographx::DynamicGraph::version().

Referenced by snapshot_version().


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