experiments
Class TolTest

java.lang.Object
  extended by experiments.TolTest
All Implemented Interfaces:
java.io.Serializable

public class TolTest
extends java.lang.Object
implements java.io.Serializable

This class represents a couple (tolerance-occurrences), where tolerance is the tolerance value used to compute typical sequences in an ExpTypSeqProf experiment and occurrences is the array containing in cell i the number of occurrences of typical sequences having a certain length (the length is contained in array length[i] in ExpTypSeqProf).

See Also:
Serialized Form

Field Summary
 int[] occurences
           
 double tol
           
 
Constructor Summary
TolTest()
          Empty constructor
TolTest(double tIn)
          Constructor of a TolTest having tol=tIn
TolTest(double tIn, int[] occurencesIn)
          Constructor of a TolTest having tol=tIn and occurrences=occurrencesIn
 
Method Summary
 int[] getOccurences()
           
 double getTol()
           
 void setOccurences(int[] occurences)
           
 void setTol(double tol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tol

public double tol

occurences

public int[] occurences
Constructor Detail

TolTest

public TolTest()
Empty constructor


TolTest

public TolTest(double tIn)
Constructor of a TolTest having tol=tIn


TolTest

public TolTest(double tIn,
               int[] occurencesIn)
Constructor of a TolTest having tol=tIn and occurrences=occurrencesIn

Method Detail

getOccurences

public int[] getOccurences()
Returns:
the occurences

setOccurences

public void setOccurences(int[] occurences)
Parameters:
occurences - the occurences to set

getTol

public double getTol()
Returns:
the tol

setTol

public void setTol(double tol)
Parameters:
tol - the tol to set