Utopia  2
Framework for studying models of complex & adaptive systems.
Functions
Utopia::DataIO::GraphLoad Namespace Reference

Functions

template<typename Graph >
Graph load_graph (const Config &cfg, boost::dynamic_properties pmaps)
 Load a graph. More...
 

Function Documentation

◆ load_graph()

template<typename Graph >
Graph Utopia::DataIO::GraphLoad::load_graph ( const Config cfg,
boost::dynamic_properties  pmaps 
)

Load a graph.

This function loads a graph

/tparam Graph The graph type

/param file_name The name of the file to load /param pmaps Any additional property maps; if this contains a property map named weight, the weights will be loaded additionally, if the data file contains that information.

/return Graph The loaded graph