lemon/concepts/path.h
branch1.1
changeset 808 bdfc038f364c
parent 783 b873350e6258
equal deleted inserted replaced
12:6fae87e08460 13:9066097e9fd8
    64       Path(const CPath& cpath) {}
    64       Path(const CPath& cpath) {}
    65 
    65 
    66       /// \brief Template assigment
    66       /// \brief Template assigment
    67       template <typename CPath>
    67       template <typename CPath>
    68       Path& operator=(const CPath& cpath) {
    68       Path& operator=(const CPath& cpath) {
    69         ignore_unused_variable_warning(cpath);
    69         ::lemon::ignore_unused_variable_warning(cpath);
    70         return *this;
    70         return *this;
    71       }
    71       }
    72 
    72 
    73       /// Length of the path ie. the number of arcs in the path.
    73       /// Length of the path ie. the number of arcs in the path.
    74       int length() const { return 0;}
    74       int length() const { return 0;}
   124 
   124 
   125           e = (i == ii);
   125           e = (i == ii);
   126           e = (i != ii);
   126           e = (i != ii);
   127           e = (i < ii);
   127           e = (i < ii);
   128 
   128 
   129           ignore_unused_variable_warning(l);
   129           ::lemon::ignore_unused_variable_warning(l);
   130           ignore_unused_variable_warning(pp);
   130           ::lemon::ignore_unused_variable_warning(pp);
   131           ignore_unused_variable_warning(e);
   131           ::lemon::ignore_unused_variable_warning(e);
   132           ignore_unused_variable_warning(id);
   132           ::lemon::ignore_unused_variable_warning(id);
   133           ignore_unused_variable_warning(ii);
   133           ::lemon::ignore_unused_variable_warning(ii);
   134           ignore_unused_variable_warning(ed);
   134           ::lemon::ignore_unused_variable_warning(ed);
   135         }
   135         }
   136       };
   136       };
   137 
   137 
   138     };
   138     };
   139 
   139 
   151           typename _Digraph::Arc ed = i;
   151           typename _Digraph::Arc ed = i;
   152 
   152 
   153           e = (i == INVALID);
   153           e = (i == INVALID);
   154           e = (i != INVALID);
   154           e = (i != INVALID);
   155 
   155 
   156           ignore_unused_variable_warning(l);
   156           ::lemon::ignore_unused_variable_warning(l);
   157           ignore_unused_variable_warning(e);
   157           ::lemon::ignore_unused_variable_warning(e);
   158           ignore_unused_variable_warning(id);
   158           ::lemon::ignore_unused_variable_warning(id);
   159           ignore_unused_variable_warning(ed);
   159           ::lemon::ignore_unused_variable_warning(ed);
   160         }
   160         }
   161         _Path& p;
   161         _Path& p;
   162         PathDumperConstraints() {}
   162         PathDumperConstraints() {}
   163       };
   163       };
   164 
   164 
   177           typename _Digraph::Arc ed = i;
   177           typename _Digraph::Arc ed = i;
   178 
   178 
   179           e = (i == INVALID);
   179           e = (i == INVALID);
   180           e = (i != INVALID);
   180           e = (i != INVALID);
   181 
   181 
   182           ignore_unused_variable_warning(l);
   182           ::lemon::ignore_unused_variable_warning(l);
   183           ignore_unused_variable_warning(e);
   183           ::lemon::ignore_unused_variable_warning(e);
   184           ignore_unused_variable_warning(id);
   184           ::lemon::ignore_unused_variable_warning(id);
   185           ignore_unused_variable_warning(ed);
   185           ::lemon::ignore_unused_variable_warning(ed);
   186         }
   186         }
   187         _Path& p;
   187         _Path& p;
   188         PathDumperConstraints() {}
   188         PathDumperConstraints() {}
   189       };
   189       };
   190 
   190