lt.ktu.tsp.TSP_tabu.aopents
Class Solution
java.lang.Object
|
+--lt.ktu.tsp.TSP_tabu.SolutionVector
|
+--lt.ktu.tsp.TSP_tabu.aopents.Solution
- All Implemented Interfaces:
- java.lang.Cloneable, Result, java.io.Serializable, org.coinor.opents.Solution
- public class Solution
- extends SolutionVector
- implements org.coinor.opents.Solution
- See Also:
- Serialized Form
|
Constructor Summary |
Solution(int size)
|
Solution(int[] vektorius)
|
Solution(int from,
int size,
boolean random)
Creates a new instance of Solution |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Solution
public Solution(int from,
int size,
boolean random)
- Creates a new instance of Solution
Solution
public Solution(int size)
Solution
public Solution(int[] vektorius)
setObjectiveValue
public void setObjectiveValue(double[] values)
- Specified by:
setObjectiveValue in interface org.coinor.opents.Solution
getObjectiveValue
public double[] getObjectiveValue()
- Specified by:
getObjectiveValue in interface org.coinor.opents.Solution
clone
public java.lang.Object clone()
- Specified by:
clone in interface org.coinor.opents.Solution- Overrides:
clone in class SolutionVector
modify
public void modify(int i,
int j)