[vtkusers] vtkGraph

David Doria daviddoria+vtk at gmail.com
Fri Sep 11 08:51:18 EDT 2009


On Fri, Sep 11, 2009 at 8:43 AM, Jeff Baumes <jeff.baumes at kitware.com>wrote:

> Try changing the line
>
>    AddEdge(v1, v2, rev, 8.0, g);
>
> to
>
>    AddEdge(v1, v3, rev, 8.0, g);
>
> Then you would actually make the graph that your diagram shows :) The
> graph you create in your code does indeed have max flow 7.
>
> Jeff
>

Wow... it's embarrassing how long I've been struggling with this... it
returns 11 now - go figure! Thanks Jeff.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090911/b16360bf/attachment.htm>


More information about the vtkusers mailing list