operations_research::graph_traits< GraphType > Struct Template Reference

Detailed Description

template<typename GraphType>
struct operations_research::graph_traits< GraphType >

Traits for EbertGraphBase types, for use in testing and clients that work with both forward-only and forward/reverse graphs.

The default is to assume reverse arcs so if someone forgets to specialize the traits of a new forward-only graph type, they will get errors from tests rather than incomplete testing.

Definition at line 1848 of file ebert_graph.h.

Static Public Attributes

static const bool has_reverse_arcs = true
 
static const bool is_dynamic = true
 

Member Data Documentation

◆ has_reverse_arcs

template<typename GraphType >
const bool operations_research::graph_traits< GraphType >::has_reverse_arcs = true
static

Definition at line 1849 of file ebert_graph.h.

◆ is_dynamic

template<typename GraphType >
const bool operations_research::graph_traits< GraphType >::is_dynamic = true
static

Definition at line 1850 of file ebert_graph.h.


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