Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::graph_traits< GraphType > Struct Template Reference

#include <ebert_graph.h>

Static Public Attributes

static constexpr bool has_reverse_arcs = true
 
static constexpr bool is_dynamic = true
 

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 1853 of file ebert_graph.h.

Member Data Documentation

◆ has_reverse_arcs

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

Definition at line 1854 of file ebert_graph.h.

◆ is_dynamic

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

Definition at line 1855 of file ebert_graph.h.


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