Class Solution

java.lang.Object
  |
  +--Solution

public class Solution
extends Object


Field Summary
protected  int dataSet
          data set number
protected  int grid
          grid number
protected  int Na
          number of selected strip acquisitions
protected  int track
          track number
 
Constructor Summary
Solution(String fileName, String resultFileName)
           
 
Method Summary
 List constructSolutionList(String fileName)
          Method that constructs the list of selected strip acquisitions from the read data.
protected  double fPartialGain(double x)
          Definition of the breakpoints and of the slopes of the piece-wise linear function, used to give a higher importance to polygon terminaison
 String toString()
           
 void writeResultsFile(String fileName)
          Method that writes the results of the solution checking in the result file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dataSet

protected int dataSet
data set number

grid

protected int grid
grid number

track

protected int track
track number

Na

protected int Na
number of selected strip acquisitions
Constructor Detail

Solution

public Solution(String fileName,
                String resultFileName)
Method Detail

constructSolutionList

public List constructSolutionList(String fileName)
Method that constructs the list of selected strip acquisitions from the read data.
Parameters:
fileName - the name of the solution file
Returns:
the list of strip acquisitions in the solution

fPartialGain

protected double fPartialGain(double x)
Definition of the breakpoints and of the slopes of the piece-wise linear function, used to give a higher importance to polygon terminaison

toString

public String toString()
Overrides:
toString in class Object

writeResultsFile

public void writeResultsFile(String fileName)
Method that writes the results of the solution checking in the result file