Sequoia
Loading...
Searching...
No Matches
Concepts | Variables
GraphTraits.hpp File Reference

Traits and Concepts for graphs. More...

Go to the source code of this file.

Concepts

concept  sequoia::maths::network
 
concept  sequoia::maths::dynamic_network
 
concept  sequoia::maths::static_network
 
concept  sequoia::maths::heterogeneous_network
 
concept  sequoia::maths::dynamic_tree
 

Variables

template<class G >
constexpr bool sequoia::maths::dynamic_nodes
 
template<class G >
constexpr bool sequoia::maths::heterogeneous_nodes
 
template<class G >
constexpr bool sequoia::maths::static_nodes {!dynamic_nodes<G>}
 

Detailed Description

Traits and Concepts for graphs.

Variable Documentation

◆ dynamic_nodes

template<class G >
constexpr bool sequoia::maths::dynamic_nodes
inlineconstexpr
Initial value:
{
requires(std::remove_const_t<G>& g) { g.erase_node(0); }
|| requires(std::remove_const_t<G>& g) { g.prune(0); }
}

◆ heterogeneous_nodes

template<class G >
constexpr bool sequoia::maths::heterogeneous_nodes
inlineconstexpr
Initial value:
{
requires { typename G::heterogeneous_nodes_type; }
}