tml.vectorspace.operations
Class PassageDistances

java.lang.Object
  extended by tml.vectorspace.operations.AbstractOperation<PassageDistancesResult>
      extended by tml.vectorspace.operations.PassageDistances
All Implemented Interfaces:
Operation<PassageDistancesResult>
Direct Known Subclasses:
ParagraphCoherenceIndex

public class PassageDistances
extends AbstractOperation<PassageDistancesResult>

Calculates the distances (angular) for a whole set of passages in a Corpus.

Author:
Jorge Villalon

Constructor Summary
PassageDistances()
           
 
Method Summary
 java.lang.Object[][] getInnerData()
           
 java.lang.Object[][] getResultsTable()
           
 java.lang.Object[] getResultsTableHeader()
           
 void start()
          Starts the operation execution
 
Methods inherited from class tml.vectorspace.operations.AbstractOperation
addOperationListener, getBackgroundKnowledgeCorpus, getCorpus, getMaxResults, getName, getRepository, getResults, getResultsCSVString, getResultsNumber, getResultsString, getResultsStringTable, getResultsXML, getTimeElapsed, printResults, printResultsCSV, printResultsMatlab, removeOperationListener, setBackgroundKnowledgeCorpus, setCorpus, setMaxResults, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PassageDistances

public PassageDistances()
Method Detail

getInnerData

public java.lang.Object[][] getInnerData()

getResultsTable

public java.lang.Object[][] getResultsTable()
Specified by:
getResultsTable in interface Operation<PassageDistancesResult>
Overrides:
getResultsTable in class AbstractOperation<PassageDistancesResult>
Returns:
the table with the results

getResultsTableHeader

public java.lang.Object[] getResultsTableHeader()
Specified by:
getResultsTableHeader in interface Operation<PassageDistancesResult>
Overrides:
getResultsTableHeader in class AbstractOperation<PassageDistancesResult>
Returns:
the headers of the results table

start

public void start()
           throws java.lang.Exception
Description copied from interface: Operation
Starts the operation execution

Specified by:
start in interface Operation<PassageDistancesResult>
Overrides:
start in class AbstractOperation<PassageDistancesResult>
Throws:
java.lang.Exception