Utopia  2
Framework for studying models of complex & adaptive systems.
Namespaces | Enumerations | Functions
iterator.hh File Reference
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/adjacency_matrix.hpp>
#include <boost/graph/subgraph.hpp>
#include <boost/graph/filtered_graph.hpp>
Include dependency graph for iterator.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Utopia
 
 Utopia::GraphUtils
 

Enumerations

enum class  Utopia::IterateOver {
  Utopia::vertices , Utopia::edges , Utopia::neighbors , Utopia::inv_neighbors ,
  Utopia::in_edges , Utopia::out_edges
}
 Over which graph entity to iterate. More...
 

Functions

template<IterateOver iterate_over, typename Graph >
decltype(auto) Utopia::GraphUtils::iterator_pair (const Graph &g)
 Get an iterator pair over selected graph entities. More...
 
template<IterateOver iterate_over, typename Graph , typename EntityDesc >
decltype(auto) Utopia::GraphUtils::iterator_pair (EntityDesc e, const Graph &g)
 Get an iterator pair over selected graph entities. More...
 
template<IterateOver iterate_over, typename Graph >
decltype(auto) Utopia::range (const Graph &g)
 Get the iterator range over selected graph entities. More...
 
template<IterateOver iterate_over, typename Graph , typename EntityDesc >
decltype(auto) Utopia::range (EntityDesc e, const Graph &g)
 Get the iterator range over selected graph entities. More...