Changes in / [357:3fb8ed1322de:356:99f1bdf8f7db] in lemon-1.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/groups.dox
r351 r318 465 465 466 466 /** 467 @defgroup lemon_io LEMON Graph Format467 @defgroup lemon_io LEMON Input-Output 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 Format486 @ingroup io_group487 \brief Read \e Nauty format488 Tool to read graphs from \e Nauty format data.489 482 */ 490 483 -
lemon/nauty_reader.h
r352 r350 24 24 #include <string> 25 25 26 /// \ingroup io_group 27 /// 28 /// @defgroup nauty_group NAUTY format 29 /// 30 /// \brief Read \e Nauty format 31 /// 32 /// Tool to read graphs from \e Nauty format data 33 26 34 /// \ingroup nauty_group 27 35 /// \file 28 36 /// \brief Nauty file reader. 29 30 37 namespace lemon { 31 38 … … 36 43 /// The \e geng program is in the \e gtools suite of the nauty 37 44 /// package. This tool can generate all non-isomorphic undirected 38 /// graphs of several classes with given node number (e.g.45 /// graphs with given node number from several classes (for example, 39 46 /// general, connected, biconnected, triangle-free, 4-cycle-free, 40 47 /// bipartite and graphs with given edge number and degree 41 /// constraints). This function reads a \e nauty \e graph \e format48 /// constraints). This function reads a \e nauty \e graph6 \e format 42 49 /// line from the given stream and builds it in the given graph. 43 50 /// 44 51 /// The site of nauty package: http://cs.anu.edu.au/~bdm/nauty/ 45 52 /// 46 /// For example, the number of all non-isomorphic planargraphs47 /// can be computed with thefollowing code.53 /// For example, the number of all non-isomorphic connected graphs 54 /// can be computed with following code. 48 55 ///\code 49 56 /// int num = 0; … … 57 64 /// 58 65 /// The nauty files are quite huge, therefore instead of the direct 59 /// file generation pipelining is recommended. For example,66 /// file generation the pipelining is recommended. 60 67 ///\code 61 /// ./geng -c 10 | ./num_of_p lanar_graphs68 /// ./geng -c 10 | ./num_of_pg 62 69 ///\endcode 63 70 template <typename Graph> 64 std::istream& readNauty(Graph& graph, std::istream& is = std::cin) {71 std::istream& readNauty(Graph& graph, std::istream& is) { 65 72 graph.clear(); 66 73
Note: See TracChangeset
for help on using the changeset viewer.