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

Field Summary
 
Fields inherited from class lt.ktu.tsp.TSP_tabu.SolutionVector
rand, vektorius
 
Constructor Summary
Solution(int size)
           
Solution(int[] vektorius)
           
Solution(int from, int size, boolean random)
          Creates a new instance of Solution
 
Method Summary
 java.lang.Object clone()
           
 double[] getObjectiveValue()
           
 void modify(int i, int j)
           
 void setObjectiveValue(double[] values)
           
 
Methods inherited from class lt.ktu.tsp.TSP_tabu.SolutionVector
assign, exists, get, getAdjacent, size, toArray, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)