public class MultiobjectiveTSP extends AbstractIntegerPermutationProblem
| Modifier and Type | Field and Description |
|---|---|
protected double[][] |
costMatrix |
protected double[][] |
distanceMatrix |
protected int |
numberOfCities |
| Constructor and Description |
|---|
MultiobjectiveTSP(String distanceFile,
String costFile)
Creates a new MultiobjectiveTSP 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, getNumberOfVariablesprotected int numberOfCities
protected double[][] distanceMatrix
protected double[][] costMatrix
public MultiobjectiveTSP(String distanceFile, String costFile) throws IOException
IOExceptionpublic void evaluate(PermutationSolution<Integer> solution)
public int getPermutationLength()
Copyright © 2018. All rights reserved.