COIN-OR::LEMON - Graph Library

Changeset 2464:d4bdbc35c927 in lemon-0.x for lemon


Ignore:
Timestamp:
08/24/07 16:32:55 (12 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3302
Message:

uedgeset is an alias for edgeset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lemon_reader.h

    r2461 r2464  
    11251125    /// It gives back true when the header line starts with \c \@edgeset,
    11261126    /// and the header line's name and the edgeset's name are the same.
     1127    /// The sections with @uedgeset head line could be read with this
     1128    /// section reader too.
    11271129    virtual bool header(const std::string& line) {
    11281130      std::istringstream ls(line);
     
    11301132      std::string id;
    11311133      ls >> command >> id;
    1132       return command == "@edgeset" && name == id;
     1134      return (command == "@edgeset" || command == "@uedgeset") && name == id;
    11331135    }
    11341136
     
    14321434    /// It gives back true when the header line starts with \c \@uedgeset,
    14331435    /// and the header line's name and the edgeset's name are the same.
     1436    /// The sections with @edgeset head line could be read with this
     1437    /// section reader too.
    14341438    virtual bool header(const std::string& line) {
    14351439      std::istringstream ls(line);
     
    14371441      std::string id;
    14381442      ls >> command >> id;
    1439       return command == "@uedgeset" && name == id;
     1443      return (command == "@edgeset" || command == "@uedgeset") && name == id;
    14401444    }
    14411445
Note: See TracChangeset for help on using the changeset viewer.