[Lemon-user] output from suurballe.path(i)
Jan-Willem Elion
jwelion at nortel.com
Wed Nov 18 22:43:17 CET 2009
All,
Help, I am a c++ novice!
I am trying to run suurballe_test.cc from the test directory. I can compile the following sequence:
suurballe.run(s,t,2);
suurballe.path(1);
The problem is that this produces no output
If I instead do:
suurballe.run(s,t,2);
std::cout << suurballe.path(1) << std::endl;
I get a rather large list of compile errors
I believe it is something to do with the data type of suurballe.path(), so I am trying to assign a variable routestring:
typedef const SimplePath <ListDigraph> routestring;
suurballe.run(s,t,2);
routestring = suurballe.path(1);
std::cout << routestring << std::endl;
but this complains that there is an unqualified-id before the = token
Can someone explain how I can make this work?
Thanks, Jan Willem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20091118/281ebbb7/attachment.html>
More information about the Lemon-user
mailing list