lemon/concepts/path.h
changeset 1088 4000b7ef4e01
parent 976 426a704d7483
parent 1083 3e711ee55d31
child 1092 dceba191c00d
equal deleted inserted replaced
14:31fff8abe241 16:80ee88387aa1
    73       Path(const CPath& cpath) {}
    73       Path(const CPath& cpath) {}
    74 
    74 
    75       /// \brief Template assigment operator
    75       /// \brief Template assigment operator
    76       template <typename CPath>
    76       template <typename CPath>
    77       Path& operator=(const CPath& cpath) {
    77       Path& operator=(const CPath& cpath) {
    78         ignore_unused_variable_warning(cpath);
    78         ::lemon::ignore_unused_variable_warning(cpath);
    79         return *this;
    79         return *this;
    80       }
    80       }
    81 
    81 
    82       /// Length of the path, i.e. the number of arcs on the path.
    82       /// Length of the path, i.e. the number of arcs on the path.
    83       int length() const { return 0;}
    83       int length() const { return 0;}
   133 
   133 
   134           e = (i == ii);
   134           e = (i == ii);
   135           e = (i != ii);
   135           e = (i != ii);
   136           e = (i < ii);
   136           e = (i < ii);
   137 
   137 
   138           ignore_unused_variable_warning(l);
   138           ::lemon::ignore_unused_variable_warning(l);
   139           ignore_unused_variable_warning(pp);
   139           ::lemon::ignore_unused_variable_warning(pp);
   140           ignore_unused_variable_warning(e);
   140           ::lemon::ignore_unused_variable_warning(e);
   141           ignore_unused_variable_warning(id);
   141           ::lemon::ignore_unused_variable_warning(id);
   142           ignore_unused_variable_warning(ii);
   142           ::lemon::ignore_unused_variable_warning(ii);
   143           ignore_unused_variable_warning(ed);
   143           ::lemon::ignore_unused_variable_warning(ed);
   144         }
   144         }
   145       };
   145       };
   146 
   146 
   147     };
   147     };
   148 
   148 
   160           typename _Digraph::Arc ed = i;
   160           typename _Digraph::Arc ed = i;
   161 
   161 
   162           e = (i == INVALID);
   162           e = (i == INVALID);
   163           e = (i != INVALID);
   163           e = (i != INVALID);
   164 
   164 
   165           ignore_unused_variable_warning(l);
   165           ::lemon::ignore_unused_variable_warning(l);
   166           ignore_unused_variable_warning(e);
   166           ::lemon::ignore_unused_variable_warning(e);
   167           ignore_unused_variable_warning(id);
   167           ::lemon::ignore_unused_variable_warning(id);
   168           ignore_unused_variable_warning(ed);
   168           ::lemon::ignore_unused_variable_warning(ed);
   169         }
   169         }
   170         _Path& p;
   170         _Path& p;
   171         PathDumperConstraints() {}
   171         PathDumperConstraints() {}
   172       };
   172       };
   173 
   173 
   186           typename _Digraph::Arc ed = i;
   186           typename _Digraph::Arc ed = i;
   187 
   187 
   188           e = (i == INVALID);
   188           e = (i == INVALID);
   189           e = (i != INVALID);
   189           e = (i != INVALID);
   190 
   190 
   191           ignore_unused_variable_warning(l);
   191           ::lemon::ignore_unused_variable_warning(l);
   192           ignore_unused_variable_warning(e);
   192           ::lemon::ignore_unused_variable_warning(e);
   193           ignore_unused_variable_warning(id);
   193           ::lemon::ignore_unused_variable_warning(id);
   194           ignore_unused_variable_warning(ed);
   194           ::lemon::ignore_unused_variable_warning(ed);
   195         }
   195         }
   196         _Path& p;
   196         _Path& p;
   197         PathDumperConstraints() {}
   197         PathDumperConstraints() {}
   198       };
   198       };
   199 
   199