public class TSP extends AbstractIntegerPermutationProblem
| Constructor and Description |
|---|
TSP(String distanceFile)
Creates a new TSP problem instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(PermutationSolution<Integer> solution)
Evaluate() method
|
int |
getPermutationLength() |
createSolutiongetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariablespublic TSP(String distanceFile) throws IOException
IOExceptionpublic void evaluate(PermutationSolution<Integer> solution)
public int getPermutationLength()
Copyright © 2018. All rights reserved.