Changeset 964:2c0c20e90116 in lemon-0.x
- Timestamp:
- 11/05/04 08:26:20 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1348
- Location:
- src/lemon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept/graph_component.h
r962 r964 35 35 36 36 /// \note Because Node and Edge are forbidden to inherit from the same 37 /// base class, this is a template. For Node you shoul instantiate it37 /// base class, this is a template. For Node you should instantiate it 38 38 /// with character 'n' and for Edge with 'e'. 39 39 -
src/lemon/dimacs.h
r921 r964 36 36 37 37 /// This function reads a min cost flow instance from dimacs format, 38 /// i.e. from dimacs files having a line starting with \c p \c "min". 38 /// i.e. from dimacs files having a line starting with 39 /// \code 40 /// p "min" 41 /// \endcode 39 42 /// At the beginning \c g is cleared by \c g.clear(). The edge 40 43 /// capacities are written to \c capacity, \c s and \c t are set to … … 113 116 114 117 /// This function reads a max flow instance from dimacs format, 115 /// i.e. from dimacs files having a line starting with \c p \c 116 /// "max". At the beginning \c g is cleared by \c g.clear(). The 118 /// i.e. from dimacs files having a line starting with 119 /// \code 120 /// p "max" 121 /// \endcode 122 ///At the beginning \c g is cleared by \c g.clear(). The 117 123 /// edge capacities are written to \c capacity and \c s and \c t are 118 124 /// set to the source and the target nodes. … … 130 136 131 137 /// This function reads a shortest path instance from dimacs format, 132 /// i.e. from dimacs files having a line starting with \c p \c "sp". 138 /// i.e. from dimacs files having a line starting with 139 /// \code 140 /// p "sp" 141 /// \endcode 133 142 /// At the beginning \c g is cleared by \c g.clear(). The edge 134 143 /// capacities are written to \c capacity and \c s is set to the … … 163 172 /// This function reads a graph without any designated nodes and 164 173 /// maps from dimacs format, i.e. from dimacs files having a line 165 /// starting with \c p \c "mat". At the beginning \c g is cleared 174 /// starting with 175 /// \code 176 /// p "mat" 177 /// \endcode 178 /// At the beginning \c g is cleared 166 179 /// by \c g.clear(). 167 180 /// -
src/lemon/graph_utils.h
r947 r964 25 25 ///\file 26 26 ///\brief Graph utilities. 27 /// 28 ///\todo Please 29 ///revise the documentation. 27 30 /// 28 31 … … 53 56 /// This function counts the nodes in the graph. 54 57 /// The complexity of the function is O(n) but for some 55 /// graph structure it is specialized to O(1).58 /// graph structure it is specialized to run in O(1). 56 59 57 60 template <typename Graph> … … 64 67 /// This function counts the edges in the graph. 65 68 /// The complexity of the function is O(e) but for some 66 /// graph structure it is specialized to O(1).69 /// graph structure it is specialized to run in O(1). 67 70 template <typename Graph> 68 71 inline int countEdges(const Graph& _g) { … … 74 77 /// This function counts the symmetric edges in the graph. 75 78 /// The complexity of the function is O(e) but for some 76 /// graph structure it is specialized to O(1).79 /// graph structure it is specialized to run in O(1). 77 80 template <typename Graph> 78 81 inline int countSymEdges(const Graph& _g) { … … 88 91 return num; 89 92 } 93 94 ///\e 90 95 96 ///\todo Please document. 97 /// 91 98 template <typename Graph> 92 99 inline int countOutEdges(const Graph& _g, const typename Graph::Node& _n) { … … 94 101 } 95 102 103 ///\e 104 105 ///\todo Please document. 106 /// 96 107 template <typename Graph> 97 108 inline int countInEdges(const Graph& _g, const typename Graph::Node& _n) { -
src/lemon/xy.h
r921 r964 51 51 public: 52 52 53 typedef T ValueType; 54 53 55 T x,y; 54 56
Note: See TracChangeset
for help on using the changeset viewer.