org.put.semintec.utils
Class Statistics

java.lang.Object
  extended by org.put.semintec.utils.Statistics

public class Statistics
extends java.lang.Object

Stores statistics for pattern mining execution

Author:
Agnieszka Lawrynowicz

Field Summary
static int ASSOCIATION
           
static int CLUSTERING
           
static int PATTERN
           
 
Constructor Summary
Statistics()
           
 
Method Summary
 long calculateExecutionTime()
          Calculates execution time of pattern mining
 int getMiningTask()
          Getter of the property miningTask
 int getNumCandidatesUpToMaxLength()
          Getter of the property numCandidatesUpToMaxLength
 int getNumCandidatesWithMaxLength()
          Getter of the property numCandidatesWithMaxLength
 int getNumGENUpToMaxLength()
          Getter of the property numGENUpToMaxLength
 int getNumGENWithMaxLength()
          Getter of the property numGENWithMaxLength
 int getNumPatternsUpToMaxLength()
          Getter of the property numPatternsUpToMaxLength
 int getNumPatternsWithMaxLength()
          Getter of the property numPatternsWithMaxLength
 int getNumSATUpToMaxLength()
          Getter of the property numSATUpToMaxLength
 int getNumSATWithMaxLength()
          Getter of the property numSATWithMaxLength
 int getNumSFREEUpToMaxLength()
          Getter of the property numSFREEUpToMaxLength
 int getNumSFREEWithMaxLength()
          Getter of the property numSFREEWithMaxLength
 java.util.Date getStartDate()
          Getter of the property startDate
 java.util.Date getStopDate()
          Getter of the property stopDate
 void setMiningTask(int miningTask)
          Setter of the property miningTask
 void setNumCandidatesUpToMaxLength(int numCandidatesUpToMaxLength)
          Setter of the property numCandidatesUpToMaxLength
 void setNumCandidatesWithMaxLength(int numCandidatesWithMaxLength)
          Setter of the property numCandidatesWithMaxLength
 void setNumGENUpToMaxLength(int numGENUpToMaxLength)
          Setter of the property numGENUpToMaxLength
 void setNumGENWithMaxLength(int numGENWithMaxLength)
          Setter of the property numGENWithMaxLength
 void setNumPatternsUpToMaxLength(int numPatternsUpToMaxLength)
          Setter of the property numPatternsUpToMaxLength
 void setNumPatternsWithMaxLength(int numPatternsWithMaxLength)
          Setter of the property numPatternsWithMaxLength
 void setNumSATUpToMaxLength(int numSATUpToMaxLength)
          Setter of the property numSATUpToMaxLength
 void setNumSATWithMaxLength(int numSATWithMaxLength)
          Setter of the property numSATWithMaxLength
 void setNumSFREEUpToMaxLength(int numSFREEUpToMaxLength)
          Setter of the property numSFREEUpToMaxLength
 void setNumSFREEWithMaxLength(int numSFREEWithMaxLength)
          Setter of the property numSFREEWithMaxLength
 void setStartDate(java.util.Date startDate)
          Setter of the property startDate
 void setStopDate(java.util.Date stopDate)
          Setter of the property stopDate
 void startToCollect()
          Starts collecting the statistics of pattern mining execution
 void stopToCollect()
          Stop collecting the statistics of pattern mining execution
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATTERN

public static final int PATTERN
See Also:
Constant Field Values

ASSOCIATION

public static final int ASSOCIATION
See Also:
Constant Field Values

CLUSTERING

public static final int CLUSTERING
See Also:
Constant Field Values
Constructor Detail

Statistics

public Statistics()
Method Detail

getMiningTask

public int getMiningTask()
Getter of the property miningTask

Returns:
Returns the miningTask.

setMiningTask

public void setMiningTask(int miningTask)
Setter of the property miningTask

Parameters:
miningTask - The miningTask to set.

getStartDate

public java.util.Date getStartDate()
Getter of the property startDate

Returns:
Returns the startDate.

setStartDate

public void setStartDate(java.util.Date startDate)
Setter of the property startDate

Parameters:
startDate - The startDate to set.

getStopDate

public java.util.Date getStopDate()
Getter of the property stopDate

Returns:
Returns the stopDate.

setStopDate

public void setStopDate(java.util.Date stopDate)
Setter of the property stopDate

Parameters:
stopDate - The stopDate to set.

setNumCandidatesUpToMaxLength

public void setNumCandidatesUpToMaxLength(int numCandidatesUpToMaxLength)
Setter of the property numCandidatesUpToMaxLength

Parameters:
numCandidatesUpToMaxLength - The numCandidatesUpToMaxLength to set.

getNumCandidatesUpToMaxLength

public int getNumCandidatesUpToMaxLength()
Getter of the property numCandidatesUpToMaxLength

Returns:
Returns the numCandidatesUpToMaxLength.

setNumCandidatesWithMaxLength

public void setNumCandidatesWithMaxLength(int numCandidatesWithMaxLength)
Setter of the property numCandidatesWithMaxLength

Parameters:
numCandidatesWithMaxLength - The numCandidatesWithMaxLength to set.

getNumCandidatesWithMaxLength

public int getNumCandidatesWithMaxLength()
Getter of the property numCandidatesWithMaxLength

Returns:
Returns the numCandidatesWithMaxLength.

setNumPatternsUpToMaxLength

public void setNumPatternsUpToMaxLength(int numPatternsUpToMaxLength)
Setter of the property numPatternsUpToMaxLength

Parameters:
numPatternsUpToMaxLength - The numPatternsUpToMaxLength to set.

getNumPatternsUpToMaxLength

public int getNumPatternsUpToMaxLength()
Getter of the property numPatternsUpToMaxLength

Returns:
Returns the numPatternsUpToMaxLength.

setNumPatternsWithMaxLength

public void setNumPatternsWithMaxLength(int numPatternsWithMaxLength)
Setter of the property numPatternsWithMaxLength

Parameters:
numPatternsWithMaxLength - The numPatternsWithMaxLength to set.

getNumPatternsWithMaxLength

public int getNumPatternsWithMaxLength()
Getter of the property numPatternsWithMaxLength

Returns:
Returns the numPatternsWithMaxLength.

setNumGENUpToMaxLength

public void setNumGENUpToMaxLength(int numGENUpToMaxLength)
Setter of the property numGENUpToMaxLength

Parameters:
numGENUpToMaxLength - The numGENUpToMaxLength to set.

getNumGENUpToMaxLength

public int getNumGENUpToMaxLength()
Getter of the property numGENUpToMaxLength

Returns:
Returns the numGENUpToMaxLength.

setNumGENWithMaxLength

public void setNumGENWithMaxLength(int numGENWithMaxLength)
Setter of the property numGENWithMaxLength

Parameters:
numGENWithMaxLength - The numGENWithMaxLength to set.

getNumGENWithMaxLength

public int getNumGENWithMaxLength()
Getter of the property numGENWithMaxLength

Returns:
Returns the numGENWithMaxLength.

setNumSATUpToMaxLength

public void setNumSATUpToMaxLength(int numSATUpToMaxLength)
Setter of the property numSATUpToMaxLength

Parameters:
numSATUpToMaxLength - The numSATUpToMaxLength to set.

getNumSATUpToMaxLength

public int getNumSATUpToMaxLength()
Getter of the property numSATUpToMaxLength

Returns:
Returns the numSATUpToMaxLength.

setNumSATWithMaxLength

public void setNumSATWithMaxLength(int numSATWithMaxLength)
Setter of the property numSATWithMaxLength

Parameters:
numSATWithMaxLength - The numSATWithMaxLength to set.

getNumSATWithMaxLength

public int getNumSATWithMaxLength()
Getter of the property numSATWithMaxLength

Returns:
Returns the numSATWithMaxLength.

setNumSFREEUpToMaxLength

public void setNumSFREEUpToMaxLength(int numSFREEUpToMaxLength)
Setter of the property numSFREEUpToMaxLength

Parameters:
numSFREEUpToMaxLength - The numSFREEUpToMaxLength to set.

getNumSFREEUpToMaxLength

public int getNumSFREEUpToMaxLength()
Getter of the property numSFREEUpToMaxLength

Returns:
Returns the numSFREEUpToMaxLength.

setNumSFREEWithMaxLength

public void setNumSFREEWithMaxLength(int numSFREEWithMaxLength)
Setter of the property numSFREEWithMaxLength

Parameters:
numSFREEWithMaxLength - The numSFREEWithMaxLength to set.

getNumSFREEWithMaxLength

public int getNumSFREEWithMaxLength()
Getter of the property numSFREEWithMaxLength

Returns:
Returns the numSFREEWithMaxLength.

startToCollect

public void startToCollect()
Starts collecting the statistics of pattern mining execution


stopToCollect

public void stopToCollect()
Stop collecting the statistics of pattern mining execution


calculateExecutionTime

public long calculateExecutionTime()
Calculates execution time of pattern mining

Returns:
Time in milliseconds