Utopia 2
Framework for studying models of complex & adaptive systems.
|
Functions | |
template<typename Graph > | |
Graph | load_graph (const Config &cfg, boost::dynamic_properties pmaps) |
Load a 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