# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1249583464 -7200
# Node ID 03887b5e0f6fa77571cf1dc76f655ba2f286acef
# Parent 5795860737f53ce29934d138b575814392f10056
Rename cyclePath() to cycle() in MinMeanCycle (#179)
diff --git a/lemon/min_mean_cycle.h b/lemon/min_mean_cycle.h
a
|
b
|
|
253 | 253 | /// "addBack()" function of the given path structure. |
254 | 254 | /// |
255 | 255 | /// \return <tt>(*this)</tt> |
256 | | /// |
257 | | /// \sa cycle() |
258 | | MinMeanCycle& cyclePath(Path &path) { |
| 256 | MinMeanCycle& cycle(Path &path) { |
259 | 257 | if (_local_path) { |
260 | 258 | delete _cycle_path; |
261 | 259 | _local_path = false; |
… |
… |
|
389 | 387 | /// |
390 | 388 | /// \pre \ref run() or \ref findCycle() must be called before using |
391 | 389 | /// this function. |
392 | | /// |
393 | | /// \sa cyclePath() |
394 | 390 | const Path& cycle() const { |
395 | 391 | return *_cycle_path; |
396 | 392 | } |