algo
Interface Path

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
PathByteArray

public interface Path
extends java.lang.Cloneable

A Path in a Graph.

Author:
Heinz Kredel.

Method Summary
 java.lang.Object clone()
           
 Path copyMax()
          return a copy of this with maximal used array.
 double cost()
           
 int length()
           
 int maxsize()
           
 Path nextPath(int pos)
          get next possible path, reusing used array.
 Path[] nextPaths()
          get array of next possible paths.
 java.lang.String toString()
           
 

Method Detail

copyMax

Path copyMax()
return a copy of this with maximal used array.


nextPaths

Path[] nextPaths()
get array of next possible paths.


nextPath

Path nextPath(int pos)
get next possible path, reusing used array.

Parameters:
pos - position in unused array.

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

length

int length()

maxsize

int maxsize()

cost

double cost()

clone

java.lang.Object clone()