demo/digraph.lgf
author |
Peter Kovacs <kpeter@inf.elte.hu> |
|
Sat, 25 Apr 2009 02:12:41 +0200 |
changeset 615 |
7c1324b35d89 |
permissions |
-rw-r--r-- |
Modify the interface of Suurballe (#266, #181)
- Move the parameters s and t from the constructor to the run()
function. It makes the interface capable for multiple run(s,t,k)
calls (possible improvement in the future) and it is more similar
to Dijkstra.
- Simliarly init() and findFlow(k) were replaced by init(s) and
findFlow(t,k). The separation of parameters s and t is for the
future plans of supporting multiple targets with one source node.
For more information see #181.
- LEMON_ASSERT for the Length type (check if it is integer).
- Doc improvements.
- Rearrange query functions.
- Extend test file.