[Lemon-commits] Peter Kovacs: Rename cyclePath() to cycle() in M...

Lemon HG hg at lemon.cs.elte.hu
Thu Nov 5 08:59:56 CET 2009


details:   http://lemon.cs.elte.hu/hg/lemon/rev/03887b5e0f6f
changeset: 822:03887b5e0f6f
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Thu Aug 06 20:31:04 2009 +0200
description:
	Rename cyclePath() to cycle() in MinMeanCycle (#179)

diffstat:

 lemon/min_mean_cycle.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (23 lines):

diff --git a/lemon/min_mean_cycle.h b/lemon/min_mean_cycle.h
--- a/lemon/min_mean_cycle.h
+++ b/lemon/min_mean_cycle.h
@@ -253,9 +253,7 @@
     /// "addBack()" function of the given path structure.
     ///
     /// \return <tt>(*this)</tt>
-    ///
-    /// \sa cycle()
-    MinMeanCycle& cyclePath(Path &path) {
+    MinMeanCycle& cycle(Path &path) {
       if (_local_path) {
         delete _cycle_path;
         _local_path = false;
@@ -389,8 +387,6 @@
     ///
     /// \pre \ref run() or \ref findCycle() must be called before using
     /// this function.
-    ///
-    /// \sa cyclePath()
     const Path& cycle() const {
       return *_cycle_path;
     }



More information about the Lemon-commits mailing list