author | marci |
Tue, 04 May 2004 14:06:00 +0000 | |
changeset 526 | def920ddaba7 |
parent 525 | ddc405f1d48f |
child 527 | 7550fed0cd91 |
1.1 --- a/src/work/marci/graph_wrapper.h Tue May 04 12:03:04 2004 +0000 1.2 +++ b/src/work/marci/graph_wrapper.h Tue May 04 14:06:00 2004 +0000 1.3 @@ -811,6 +811,9 @@ 1.4 //return e.forward ? graph->valid(e.out) : graph->valid(e.in); 1.5 } 1.6 1.7 + bool forward(const Edge& e) const { return e.forward; } 1.8 + bool backward(const Edge& e) const { return !e.forward; } 1.9 + 1.10 void augment(const Edge& e, Number a) const { 1.11 if (e.forward) 1.12 // flow->set(e.out, flow->get(e.out)+a);