Skip to main content

class graph

Declaration

template <class Node>
class graph { /* full declaration omitted */ };

Description

A graph maintains ownership of all nodes that have not been pruned by epoch or horizon application.

Declared at: include/graph.h:22

Template Parameters

Node

Member Variables

std::deque<epoch> m_epochs

Member Function Overview

Member Functions

void begin_epoch(task_id tid)

Declared at: include/graph.h:27

Parameters

task_id tid

void erase_before_epoch(task_id tid)

Declared at: include/graph.h:44

Parameters

task_id tid

template <class N>
N* retain_in_current_epoch(
    std::unique_ptr<N> node)

Declared at: include/graph.h:34

Template Parameters

N

Parameters

std::unique_ptr<N> node