9 0, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 9, 10, 10, 11, 12, 12,
10 13, 14, 14, 15, 16, 17, 18, 18, 19, 19, 20, 21, 22, 22,
11 22, 23, 23, 23, 23, 24, 25, 26, 27, 27, 27, 28, 29, 29,
12 29, 30, 30, 31, 31, 31, 32, 33, 33, 34, 34, 35, 35, 35,
13 35, 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 14, 15, 16, 18,
14 19, 20, 21, 22, 23, 25, 27, 29, 30, 31, 32, 33, 34, 35, -1
static bool write(const Graph &G, const string &filename, WriterFunc writer=nullptr)
Writes graph G to a file with name filename and infers the format to use from the file's extension.
static bool read(Graph &G, const string &filename, ReaderFunc reader=nullptr)
Reads graph G from a file with name filename and infers the used format from the file's extension.