34 #ifndef _CYMEALG_SUBGRAPH_H_ 35 #define _CYMEALG_SUBGRAPH_H_ 38 #include "chomp/system/config.h" 45 template <
class Graph1,
class Graph2,
class Table>
46 void subgraph (
const Graph1 &g, Graph2 &result,
const Table &tab,
47 bool copyweights =
false)
49 g.
subgraph (result, tab, copyweights);
56 #endif // _CYMEALG_SUBGRAPH_H_
void subgraph(const Graph1 &g, Graph2 &result, const Table &tab, bool copyweights=false)
Computes a restriction of the graph to its subgraph.