Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::negative_cycles_detail::Out_Adjacency< Cost_Type > Struct Template Reference

Out-adjacency of a snapshot in compressed form. More...

#include <Negative_Cycles.H>

Collaboration diagram for Aleph::negative_cycles_detail::Out_Adjacency< Cost_Type >:
[legend]

Public Attributes

Array< size_t > start
 n + 1 offsets.
 
Array< size_t > arc
 Index of the arc in Indexed_Graph::arcs.
 
Array< size_t > tgt
 Position of the target node.
 
Array< Cost_Type > weight
 Weight of the arc.
 

Detailed Description

template<typename Cost_Type>
struct Aleph::negative_cycles_detail::Out_Adjacency< Cost_Type >

Out-adjacency of a snapshot in compressed form.

The arcs leaving node u occupy the positions start(u) to start(u + 1) - 1, in ascending order of their index in the snapshot; arc, tgt and weight are aligned with those positions.

Template Parameters
Cost_TypeArc weight type.

Definition at line 1011 of file Negative_Cycles.H.

Member Data Documentation

◆ arc

◆ start

◆ tgt

◆ weight


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