COIN-OR::LEMON - Graph Library

Ticket #179: 179-5-rename-03887b5e0f6f.patch

File 179-5-rename-03887b5e0f6f.patch, 908 bytes (added by Peter Kovacs, 15 years ago)
  • lemon/min_mean_cycle.h

    # 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  
    253253    /// "addBack()" function of the given path structure.
    254254    ///
    255255    /// \return <tt>(*this)</tt>
    256     ///
    257     /// \sa cycle()
    258     MinMeanCycle& cyclePath(Path &path) {
     256    MinMeanCycle& cycle(Path &path) {
    259257      if (_local_path) {
    260258        delete _cycle_path;
    261259        _local_path = false;
     
    389387    ///
    390388    /// \pre \ref run() or \ref findCycle() must be called before using
    391389    /// this function.
    392     ///
    393     /// \sa cyclePath()
    394390    const Path& cycle() const {
    395391      return *_cycle_path;
    396392    }