Changes in / [368:99f1bdf8f7db:369:3fb8ed1322de] in lemon
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

doc/groups.dox
r318 r363 465 465 466 466 /** 467 @defgroup lemon_io LEMON InputOutput467 @defgroup lemon_io LEMON Graph Format 468 468 @ingroup io_group 469 469 \brief Reading and writing LEMON Graph Format. … … 480 480 This group describes general \c EPS drawing methods and special 481 481 graph exporting tools. 482 */ 483 484 /** 485 @defgroup nauty_group NAUTY Format 486 @ingroup io_group 487 \brief Read \e Nauty format 488 Tool to read graphs from \e Nauty format data. 482 489 */ 483 490 
lemon/nauty_reader.h
r362 r364 24 24 #include <string> 25 25 26 /// \ingroup io_group27 ///28 /// @defgroup nauty_group NAUTY format29 ///30 /// \brief Read \e Nauty format31 ///32 /// Tool to read graphs from \e Nauty format data33 34 26 /// \ingroup nauty_group 35 27 /// \file 36 28 /// \brief Nauty file reader. 29 37 30 namespace lemon { 38 31 … … 43 36 /// The \e geng program is in the \e gtools suite of the nauty 44 37 /// package. This tool can generate all nonisomorphic undirected 45 /// graphs with given node number from several classes (for example,38 /// graphs of several classes with given node number (e.g. 46 39 /// general, connected, biconnected, trianglefree, 4cyclefree, 47 40 /// bipartite and graphs with given edge number and degree 48 /// constraints). This function reads a \e nauty \e graph 6\e format41 /// constraints). This function reads a \e nauty \e graph \e format 49 42 /// line from the given stream and builds it in the given graph. 50 43 /// 51 44 /// The site of nauty package: http://cs.anu.edu.au/~bdm/nauty/ 52 45 /// 53 /// For example, the number of all nonisomorphic connectedgraphs54 /// can be computed with following code.46 /// For example, the number of all nonisomorphic planar graphs 47 /// can be computed with the following code. 55 48 ///\code 56 49 /// int num = 0; … … 64 57 /// 65 58 /// The nauty files are quite huge, therefore instead of the direct 66 /// file generation the pipelining is recommended.59 /// file generation pipelining is recommended. For example, 67 60 ///\code 68 /// ./geng c 10  ./num_of_p g61 /// ./geng c 10  ./num_of_planar_graphs 69 62 ///\endcode 70 63 template <typename Graph> 71 std::istream& readNauty(Graph& graph, std::istream& is ) {64 std::istream& readNauty(Graph& graph, std::istream& is = std::cin) { 72 65 graph.clear(); 73 66
Note: See TracChangeset
for help on using the changeset viewer.