algo
Interface TSPInf

All Known Implementing Classes:
DistTSP, ParByteLocalTSP, SeqByteTSP

public interface TSPInf

Interface for TSP computing algorithms.

Author:
Heinz Kredel.

Method Summary
 Path actualBest()
           
 Path getBest()
          Search the best path for a TSP problem.
 Path getBest(long max)
          Search the best path for a TSP problem.
 void getBest(Path p)
          Search the best path for a TSP problem.
 long getIterations()
           
 long getMaxIterations()
           
 void setBest(Path b)
           
 long setMaxIterations(long m)
           
 

Method Detail

actualBest

Path actualBest()

setBest

void setBest(Path b)

getBest

Path getBest()
Search the best path for a TSP problem.


getBest

Path getBest(long max)
Search the best path for a TSP problem.

Parameters:
max - maximal number of iterations to be used or Long.MAX_VALUE.

getBest

void getBest(Path p)
Search the best path for a TSP problem. Starting with path p.


getIterations

long getIterations()

getMaxIterations

long getMaxIterations()

setMaxIterations

long setMaxIterations(long m)