Class RefSegmentation
java.lang.Object
|
+--Segmentation
|
+--RefSegmentation
- public class RefSegmentation
- extends Segmentation
This class represents a segmentation in items of video file
and used in known-items task programs of TREC 2001.
Not the entire video is represented in a segmentation, the term of segmentation
is used for convenience, but it's just a bunch of items of the same video
that need to be processed together cause result of one particular system
for one particular topic.
|
Constructor Summary |
RefSegmentation(java.util.Comparator orderingComparator,
java.lang.String topicNumber)
Constructs Segmentation object with an ordering comparator for its set of items. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RefSegmentation
public RefSegmentation(java.util.Comparator orderingComparator,
java.lang.String topicNumber)
- Constructs Segmentation object with an ordering comparator for its set of items.
- Parameters:
orderingComparator - The comparator used to order transitions in the set of transitionstopicNumber - The topic number of the results.
processComparison
public comparisonResult processComparison(SysSegmentation systemSegmentation,
int maxAllowedItems)
throws java.lang.Exception
- Process the comparison between the current assumed reference segmentation and the given system segmentation.
- Parameters:
systemSegmentation - The system segmentation to be compared with.- Returns:
- an object representing all the results (measures...) of the comparison.
- Throws:
java.lang.Exception - if the definition of an item is not correct.
For information over@nist.gov or rtaban@nist.gov