tml.vectorspace.operations
Class PassageDistances
java.lang.Object
tml.vectorspace.operations.AbstractOperation<PassageDistancesResult>
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
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 |
PassageDistances
public PassageDistances()
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