0
21
0
2
2
2
2
9
9
... | ... |
@@ -80,3 +80,3 @@ |
80 | 80 |
- For all \f$u\in V\f$ nodes: |
81 |
- \f$\pi(u) |
|
81 |
- \f$\pi(u)\leq 0\f$; |
|
82 | 82 |
- if \f$\sum_{uv\in A} f(uv) - \sum_{vu\in A} f(vu) \neq sup(u)\f$, |
... | ... |
@@ -147,3 +147,3 @@ |
147 | 147 |
- For all \f$u\in V\f$ nodes: |
148 |
- \f$\pi(u) |
|
148 |
- \f$\pi(u)\geq 0\f$; |
|
149 | 149 |
- if \f$\sum_{uv\in A} f(uv) - \sum_{vu\in A} f(vu) \neq sup(u)\f$, |
... | ... |
@@ -301,3 +301,3 @@ |
301 | 301 |
/// \c OperationTraits type. |
302 |
/// For more information see \ref BellmanFordDefaultOperationTraits. |
|
302 |
/// For more information, see \ref BellmanFordDefaultOperationTraits. |
|
303 | 303 |
template <class T> |
... | ... |
@@ -719,3 +719,3 @@ |
719 | 719 |
/// The shortest path tree used here is equal to the shortest path |
720 |
/// tree used in \ref predNode() and \predMap(). |
|
720 |
/// tree used in \ref predNode() and \ref predMap(). |
|
721 | 721 |
/// |
... | ... |
@@ -734,3 +734,3 @@ |
734 | 734 |
/// The shortest path tree used here is equal to the shortest path |
735 |
/// tree used in \ref predArc() and \predMap(). |
|
735 |
/// tree used in \ref predArc() and \ref predMap(). |
|
736 | 736 |
/// |
... | ... |
@@ -65,3 +65,3 @@ |
65 | 65 |
///It must conform to the \ref concepts::WriteMap "WriteMap" concept. |
66 |
///By default it is a NullMap. |
|
66 |
///By default, it is a NullMap. |
|
67 | 67 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
... | ... |
@@ -854,3 +854,3 @@ |
854 | 854 |
///It must conform to the \ref concepts::WriteMap "WriteMap" concept. |
855 |
///By default it is a NullMap. |
|
855 |
///By default, it is a NullMap. |
|
856 | 856 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
... | ... |
@@ -308,3 +308,3 @@ |
308 | 308 |
/// digraph and the maximum level should be passed to it). |
309 |
/// However an external elevator object could also be passed to the |
|
309 |
/// However, an external elevator object could also be passed to the |
|
310 | 310 |
/// algorithm with the \ref elevator(Elevator&) "elevator()" function |
... | ... |
@@ -109,3 +109,3 @@ |
109 | 109 |
/// This iterator goes through each node of the digraph. |
110 |
/// Its usage is quite simple, for example you can count the number |
|
110 |
/// Its usage is quite simple, for example, you can count the number |
|
111 | 111 |
/// of nodes in a digraph \c g of type \c %Digraph like this: |
... | ... |
@@ -198,3 +198,3 @@ |
198 | 198 |
/// of a digraph. |
199 |
/// Its usage is quite simple, for example you can count the number |
|
199 |
/// Its usage is quite simple, for example, you can count the number |
|
200 | 200 |
/// of outgoing arcs of a node \c n |
... | ... |
@@ -243,3 +243,3 @@ |
243 | 243 |
/// of a digraph. |
244 |
/// Its usage is quite simple, for example you can count the number |
|
244 |
/// Its usage is quite simple, for example, you can count the number |
|
245 | 245 |
/// of incoming arcs of a node \c n |
... | ... |
@@ -287,3 +287,3 @@ |
287 | 287 |
/// This iterator goes through each arc of the digraph. |
288 |
/// Its usage is quite simple, for example you can count the number |
|
288 |
/// Its usage is quite simple, for example, you can count the number |
|
289 | 289 |
/// of arcs in a digraph \c g of type \c %Digraph as follows: |
... | ... |
@@ -142,3 +142,3 @@ |
142 | 142 |
/// This iterator goes through each node of the graph. |
143 |
/// Its usage is quite simple, for example you can count the number |
|
143 |
/// Its usage is quite simple, for example, you can count the number |
|
144 | 144 |
/// of nodes in a graph \c g of type \c %Graph like this: |
... | ... |
@@ -230,3 +230,3 @@ |
230 | 230 |
/// This iterator goes through each edge of the graph. |
231 |
/// Its usage is quite simple, for example you can count the number |
|
231 |
/// Its usage is quite simple, for example, you can count the number |
|
232 | 232 |
/// of edges in a graph \c g of type \c %Graph as follows: |
... | ... |
@@ -274,3 +274,3 @@ |
274 | 274 |
/// of a certain node of a graph. |
275 |
/// Its usage is quite simple, for example you can compute the |
|
275 |
/// Its usage is quite simple, for example, you can compute the |
|
276 | 276 |
/// degree (i.e. the number of incident edges) of a node \c n |
... | ... |
@@ -371,3 +371,3 @@ |
371 | 371 |
/// This iterator goes through each directed arc of the graph. |
372 |
/// Its usage is quite simple, for example you can count the number |
|
372 |
/// Its usage is quite simple, for example, you can count the number |
|
373 | 373 |
/// of arcs in a graph \c g of type \c %Graph as follows: |
... | ... |
@@ -415,3 +415,3 @@ |
415 | 415 |
/// certain node of a graph. |
416 |
/// Its usage is quite simple, for example you can count the number |
|
416 |
/// Its usage is quite simple, for example, you can count the number |
|
417 | 417 |
/// of outgoing arcs of a node \c n |
... | ... |
@@ -463,3 +463,3 @@ |
463 | 463 |
/// certain node of a graph. |
464 |
/// Its usage is quite simple, for example you can count the number |
|
464 |
/// Its usage is quite simple, for example, you can count the number |
|
465 | 465 |
/// of incoming arcs of a node \c n |
... | ... |
@@ -589,3 +589,3 @@ |
589 | 589 |
/// |
590 |
/// Edges don't have source and target nodes, however methods |
|
590 |
/// Edges don't have source and target nodes, however, methods |
|
591 | 591 |
/// u() and v() are used to query the two end-nodes of an edge. |
... | ... |
@@ -602,3 +602,3 @@ |
602 | 602 |
/// |
603 |
/// Edges don't have source and target nodes, however methods |
|
603 |
/// Edges don't have source and target nodes, however, methods |
|
604 | 604 |
/// u() and v() are used to query the two end-nodes of an edge. |
... | ... |
@@ -65,3 +65,3 @@ |
65 | 65 |
///It must conform to the \ref concepts::WriteMap "WriteMap" concept. |
66 |
///By default it is a NullMap. |
|
66 |
///By default, it is a NullMap. |
|
67 | 67 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
... | ... |
@@ -784,3 +784,3 @@ |
784 | 784 |
///It must conform to the \ref concepts::WriteMap "WriteMap" concept. |
785 |
///By default it is a NullMap. |
|
785 |
///By default, it is a NullMap. |
|
786 | 786 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
... | ... |
@@ -134,3 +134,3 @@ |
134 | 134 |
///It must conform to the \ref concepts::WriteMap "WriteMap" concept. |
135 |
///By default it is a NullMap. |
|
135 |
///By default, it is a NullMap. |
|
136 | 136 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
... | ... |
@@ -428,3 +428,3 @@ |
428 | 428 |
///reference should be passed to the constructor of the heap). |
429 |
///However external heap and cross reference objects could also be |
|
429 |
///However, external heap and cross reference objects could also be |
|
430 | 430 |
///passed to the algorithm using the \ref heap() function before |
... | ... |
@@ -449,3 +449,3 @@ |
449 | 449 |
///\c OperationTraits type. |
450 |
/// For more information see \ref DijkstraDefaultOperationTraits. |
|
450 |
/// For more information, see \ref DijkstraDefaultOperationTraits. |
|
451 | 451 |
template <class T> |
... | ... |
@@ -998,3 +998,3 @@ |
998 | 998 |
///It must conform to the \ref concepts::WriteMap "WriteMap" concept. |
999 |
///By default it is a NullMap. |
|
999 |
///By default, it is a NullMap. |
|
1000 | 1000 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
... | ... |
@@ -296,7 +296,5 @@ |
296 | 296 |
template <typename CutMap> |
297 |
Value minCutMap(const Node& s, |
|
297 |
Value minCutMap(const Node& s, |
|
298 | 298 |
const Node& t, |
299 |
///< |
|
300 | 299 |
CutMap& cutMap |
301 |
///< |
|
302 | 300 |
) const { |
... | ... |
@@ -396,3 +394,3 @@ |
396 | 394 |
/// does not necessarily give the same set of nodes. |
397 |
/// However it is ensured that |
|
395 |
/// However, it is ensured that |
|
398 | 396 |
/// \code |
... | ... |
@@ -144,3 +144,3 @@ |
144 | 144 |
///\param ost Reference to the output stream. |
145 |
///By default it is <tt>std::cout</tt>. |
|
145 |
///By default, it is <tt>std::cout</tt>. |
|
146 | 146 |
///\param pros If it is \c true, then the \c ostream referenced by \c os |
... | ... |
@@ -514,3 +514,3 @@ |
514 | 514 |
|
515 |
///By default graphToEps() rescales the whole image in order to avoid |
|
515 |
///By default, graphToEps() rescales the whole image in order to avoid |
|
516 | 516 |
///very big or very small bounding boxes. |
... | ... |
@@ -1116,3 +1116,3 @@ |
1116 | 1116 |
///\param os Reference to the output stream. |
1117 |
///By default it is <tt>std::cout</tt>. |
|
1117 |
///By default, it is <tt>std::cout</tt>. |
|
1118 | 1118 |
/// |
... | ... |
@@ -1128,3 +1128,3 @@ |
1128 | 1128 |
/// |
1129 |
///For more detailed examples see the \ref graph_to_eps_demo.cc demo file. |
|
1129 |
///For more detailed examples, see the \ref graph_to_eps_demo.cc demo file. |
|
1130 | 1130 |
/// |
... | ... |
@@ -289,3 +289,3 @@ |
289 | 289 |
/// This class is completely static and it needs constant memory space. |
290 |
/// Thus you can neither add nor delete nodes or edges, however |
|
290 |
/// Thus you can neither add nor delete nodes or edges, however, |
|
291 | 291 |
/// the structure can be resized using resize(). |
... | ... |
@@ -429,3 +429,3 @@ |
429 | 429 |
/// |
430 |
/// By default the reader uses the first section in the file of the |
|
430 |
/// By default, the reader uses the first section in the file of the |
|
431 | 431 |
/// proper type. If a section has an optional name, then it can be |
... | ... |
@@ -2223,3 +2223,3 @@ |
2223 | 2223 |
/// |
2224 |
/// For example let's see a section, which contain several |
|
2224 |
/// For example, let's see a section, which contain several |
|
2225 | 2225 |
/// integers, which should be inserted into a vector. |
... | ... |
@@ -393,3 +393,3 @@ |
393 | 393 |
///\note \c ArcIt and \c OutArcIt iterators referencing the changed |
394 |
///arc remain valid, |
|
394 |
///arc remain valid, but \c InArcIt iterators are invalidated. |
|
395 | 395 |
/// |
... | ... |
@@ -405,3 +405,3 @@ |
405 | 405 |
///\note \c InArcIt iterators referencing the changed arc remain |
406 |
///valid, |
|
406 |
///valid, but \c ArcIt and \c OutArcIt iterators are invalidated. |
|
407 | 407 |
/// |
... | ... |
@@ -551,3 +551,3 @@ |
551 | 551 |
/// restored. These events invalidate the snapshot. |
552 |
/// However the arcs and nodes that were added to the digraph after |
|
552 |
/// However, the arcs and nodes that were added to the digraph after |
|
553 | 553 |
/// making the current snapshot can be removed without invalidating it. |
... | ... |
@@ -1269,3 +1269,3 @@ |
1269 | 1269 |
///\note \c EdgeIt iterators referencing the changed edge remain |
1270 |
///valid, |
|
1270 |
///valid, but \c ArcIt iterators referencing the changed edge and |
|
1271 | 1271 |
///all other iterators whose base node is the changed node are also |
... | ... |
@@ -1353,3 +1353,3 @@ |
1353 | 1353 |
/// cannot be restored. These events invalidate the snapshot. |
1354 |
/// However the edges and nodes that were added to the graph after |
|
1354 |
/// However, the edges and nodes that were added to the graph after |
|
1355 | 1355 |
/// making the current snapshot can be removed without invalidating it. |
... | ... |
@@ -148,3 +148,3 @@ |
148 | 148 |
|
149 |
/// Its usage is quite simple, for example you can count the number |
|
149 |
/// Its usage is quite simple, for example, you can count the number |
|
150 | 150 |
/// of columns in an LP \c lp: |
... | ... |
@@ -243,3 +243,3 @@ |
243 | 243 |
|
244 |
/// Its usage is quite simple, for example you can count the number |
|
244 |
/// Its usage is quite simple, for example, you can count the number |
|
245 | 245 |
/// of rows in an LP \c lp: |
... | ... |
@@ -232,4 +232,4 @@ |
232 | 232 |
/// values to integer keys from the range <tt>[0..size-1]</tt>. |
233 |
/// It can be used with some data structures, for example |
|
234 |
/// \c UnionFind, \c BinHeap, when the used items are small |
|
233 |
/// It can be used together with some data structures, e.g. |
|
234 |
/// heap types and \c UnionFind, when the used items are small |
|
235 | 235 |
/// integers. This map conforms to the \ref concepts::ReferenceMap |
... | ... |
@@ -350,5 +350,5 @@ |
350 | 350 |
/// |
351 |
/// Apart form that this map can be used in many other cases since it |
|
351 |
/// Apart form that, this map can be used in many other cases since it |
|
352 | 352 |
/// is based on \c std::map, which is a general associative container. |
353 |
/// However keep in mind that it is usually not as efficient as other |
|
353 |
/// However, keep in mind that it is usually not as efficient as other |
|
354 | 354 |
/// maps. |
... | ... |
@@ -1787,3 +1787,3 @@ |
1787 | 1787 |
/// that were marked \c true by an algorithm. |
1788 |
/// For example it makes easier to store the nodes in the processing |
|
1788 |
/// For example, it makes easier to store the nodes in the processing |
|
1789 | 1789 |
/// order of Dfs algorithm, as the following examples show. |
... | ... |
@@ -1802,3 +1802,3 @@ |
1802 | 1802 |
/// \note LoggerBoolMap is just \ref concepts::WriteMap "writable", so |
1803 |
/// it cannot be used when a readable map is needed, for example as |
|
1803 |
/// it cannot be used when a readable map is needed, for example, as |
|
1804 | 1804 |
/// \c ReachedMap for \c Bfs, \c Dfs and \c Dijkstra algorithms. |
... | ... |
@@ -1924,3 +1924,3 @@ |
1924 | 1924 |
/// suitable and more efficient for such cases. It provides iterators |
1925 |
/// to traverse the items with the same associated value, |
|
1925 |
/// to traverse the items with the same associated value, but |
|
1926 | 1926 |
/// it does not have \c InverseMap. |
... | ... |
@@ -3468,3 +3468,3 @@ |
3468 | 3468 |
/// The correct behavior of InDegMap is not guarantied if these additional |
3469 |
/// features are used. For example the functions |
|
3469 |
/// features are used. For example, the functions |
|
3470 | 3470 |
/// \ref ListDigraph::changeSource() "changeSource()", |
... | ... |
@@ -3598,3 +3598,3 @@ |
3598 | 3598 |
/// The correct behavior of OutDegMap is not guarantied if these additional |
3599 |
/// features are used. For example the functions |
|
3599 |
/// features are used. For example, the functions |
|
3600 | 3600 |
/// \ref ListDigraph::changeSource() "changeSource()", |
... | ... |
@@ -50,3 +50,3 @@ |
50 | 50 |
/// Moreover it supports both directions of the supply/demand inequality |
51 |
/// constraints. For more information see \ref SupplyType. |
|
51 |
/// constraints. For more information, see \ref SupplyType. |
|
52 | 52 |
/// |
... | ... |
@@ -59,5 +59,5 @@ |
59 | 59 |
/// \tparam V The value type used for flow amounts, capacity bounds |
60 |
/// and supply values in the algorithm. By default it is \c int. |
|
60 |
/// and supply values in the algorithm. By default, it is \c int. |
|
61 | 61 |
/// \tparam C The value type used for costs and potentials in the |
62 |
/// algorithm. By default it is the same as \c V. |
|
62 |
/// algorithm. By default, it is the same as \c V. |
|
63 | 63 |
/// |
... | ... |
@@ -68,3 +68,3 @@ |
68 | 68 |
/// implementations, from which the most efficient one is used |
69 |
/// by default. For more information see \ref PivotRule. |
|
69 |
/// by default. For more information, see \ref PivotRule. |
|
70 | 70 |
template <typename GR, typename V = int, typename C = V> |
... | ... |
@@ -124,6 +124,6 @@ |
124 | 124 |
/// of the algorithm. |
125 |
/// By default \ref BLOCK_SEARCH "Block Search" is used, which |
|
125 |
/// By default, \ref BLOCK_SEARCH "Block Search" is used, which |
|
126 | 126 |
/// proved to be the most efficient and the most robust on various |
127 | 127 |
/// test inputs according to our benchmark tests. |
128 |
/// However another pivot rule can be selected using the \ref run() |
|
128 |
/// However, another pivot rule can be selected using the \ref run() |
|
129 | 129 |
/// function with the proper parameter. |
... | ... |
@@ -131,3 +131,3 @@ |
131 | 131 |
|
132 |
/// The First Eligible pivot rule. |
|
132 |
/// The \e First \e Eligible pivot rule. |
|
133 | 133 |
/// The next eligible arc is selected in a wraparound fashion |
... | ... |
@@ -136,3 +136,3 @@ |
136 | 136 |
|
137 |
/// The Best Eligible pivot rule. |
|
137 |
/// The \e Best \e Eligible pivot rule. |
|
138 | 138 |
/// The best eligible arc is selected in every iteration. |
... | ... |
@@ -140,3 +140,3 @@ |
140 | 140 |
|
141 |
/// The Block Search pivot rule. |
|
141 |
/// The \e Block \e Search pivot rule. |
|
142 | 142 |
/// A specified number of arcs are examined in every iteration |
... | ... |
@@ -146,3 +146,3 @@ |
146 | 146 |
|
147 |
/// The Candidate List pivot rule. |
|
147 |
/// The \e Candidate \e List pivot rule. |
|
148 | 148 |
/// In a major iteration a candidate list is built from eligible arcs |
... | ... |
@@ -152,3 +152,3 @@ |
152 | 152 |
|
153 |
/// The Altering Candidate List pivot rule. |
|
153 |
/// The \e Altering \e Candidate \e List pivot rule. |
|
154 | 154 |
/// It is a modified version of the Candidate List method. |
... | ... |
@@ -812,3 +812,3 @@ |
812 | 812 |
/// |
813 |
/// For more information see \ref SupplyType. |
|
813 |
/// For more information, see \ref SupplyType. |
|
814 | 814 |
/// |
... | ... |
@@ -844,3 +844,3 @@ |
844 | 844 |
/// have to be set again. See \ref reset() for examples. |
845 |
/// However the underlying digraph must not be modified after this |
|
845 |
/// However, the underlying digraph must not be modified after this |
|
846 | 846 |
/// class have been constructed, since it copies and extends the graph. |
... | ... |
@@ -848,3 +848,3 @@ |
848 | 848 |
/// \param pivot_rule The pivot rule that will be used during the |
849 |
/// algorithm. For more information see \ref PivotRule. |
|
849 |
/// algorithm. For more information, see \ref PivotRule. |
|
850 | 850 |
/// |
... | ... |
@@ -873,3 +873,3 @@ |
873 | 873 |
/// \ref run() call. |
874 |
/// However the underlying digraph must not be modified after this |
|
874 |
/// However, the underlying digraph must not be modified after this |
|
875 | 875 |
/// class have been constructed, since it copies and extends the graph. |
... | ... |
@@ -266,3 +266,3 @@ |
266 | 266 |
/// digraph and the maximum level should be passed to it). |
267 |
/// However an external elevator object could also be passed to the |
|
267 |
/// However, an external elevator object could also be passed to the |
|
268 | 268 |
/// algorithm with the \ref elevator(Elevator&) "elevator()" function |
0 comments (0 inline)