<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>output from suurballe.path(i)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>All,<BR>
<BR>
Help, I am a c++ novice!<BR>
<BR>
I am trying to run suurballe_test.cc from the test directory. I can compile the following sequence:<BR>
suurballe.run(s,t,2);<BR>
suurballe.path(1);<BR>
The problem is that this produces no output<BR>
<BR>
If I instead do:<BR>
suurballe.run(s,t,2);<BR>
std::cout << suurballe.path(1) << std::endl;<BR>
I get a rather large list of compile errors<BR>
<BR>
I believe it is something to do with the data type of suurballe.path(), so I am trying to assign a variable routestring:<BR>
typedef const SimplePath <ListDigraph> routestring;<BR>
suurballe.run(s,t,2);<BR>
routestring = suurballe.path(1);<BR>
std::cout << routestring << std::endl;<BR>
but this complains that there is an unqualified-id before the = token<BR>
<BR>
Can someone explain how I can make this work?<BR>
<BR>
Thanks, Jan Willem</FONT>
</P>
</BODY>
</HTML>