template<class GT>
{
typename GT::Node_Arc_Iterator;
{ g.
vsize() } -> std::convertible_to<size_t>;
{ typename GT::Node_Arc_Iterator(p) };
}
typename Node::Node_Type Node_Type
The arc class type.
Graph_Node< Node_Info > Node
The graph type.
Graph_Arc< Arc_Info > Arc
The node class type.
Node * get_connected_node(Arc *arc, Node *node) const noexcept
Return the adjacent node to node through arc.
void for_each_node(Operation &operation) const
Unconditionally traverse all the nodes of graph and on each one perform an operation.
constexpr size_t vsize() const noexcept
See get_num_nodes().
Concept constraining a graph type usable for Mo on Trees.
Concept constraining a graph type usable for Mo on Trees.
Requires node/arc types, a method to query the number of nodes, a method to obtain the connected node of an arc, and a node-iteration facility via for_each_node.
- Template Parameters
-
Definition at line 121 of file tpl_mo_on_trees.H.