|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--StorySegmentationEvaluation
Field Summary | |
java.util.Vector |
listTruth
|
Constructor Summary | |
StorySegmentationEvaluation(java.lang.String directorySubmissionStr)
Constructor of the Class. |
Method Summary | |
java.util.Vector |
copylistTruth(java.util.Vector v)
|
TimeBase |
getAlignementOfPossibleSubmission(TruthData truth)
This function returns the offset you must apply on the submission file corresponding to the truth file. |
java.lang.String |
getExtension(java.io.File f)
This method get the extension of a file |
int |
getGlobalNumberOfEvaluatedBoundariesinAllTruth()
This Method figures out the total number of boundaries evaluted in every files of the reference |
int |
getGlobalTotalTimeofOneStoryAllTruth(java.lang.String typeStory)
This Method figures out the length of a story type in every files of the reference |
int |
getNumberOfRunSubmitted(Submission submi)
Returns the number of the runs submitted in an Submission ie one xml file |
int |
getNumberOfVideoSubmitted(org.w3c.dom.Node run)
This method returns the number of videos in on specific run |
java.util.Vector |
getRunsEvaluated()
This function is called in the constructor of this class. |
TruthData |
getTruth(VideoSubmission vidsub)
This method is used to get the TruthData object corresponding to the video. |
org.w3c.dom.Element |
getVideosMissing(org.w3c.dom.Node run)
This methos returns the name of the Videos Missing in a run of the submission |
java.util.Vector |
loadClippingPoints()
|
java.util.Vector |
loadOffsets()
It load All the offset fron the alignment table named "alignment.txt.final". |
java.util.Vector |
loadTruthData()
It loads all the Reference file within the directory directoryTruth, an attribute of this class |
static void |
main(java.lang.String[] args)
|
void |
write()
This method write an xml file into the directory Result you put in argument of the execution command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Vector listTruth
Constructor Detail |
public StorySegmentationEvaluation(java.lang.String directorySubmissionStr)
directorySubmissionStr
- The name of the directory you want to be evaluated. This directory must be in the path indicated by the attribute pathsubmission.
The name of the directory should be the name of the group. Afterwards this name will be concatenated to the result file.
Indeed if you would like to evalute the result of the nist it will create a file named Resultnist.xml into the directory given in the attribute pathResultMethod Detail |
public java.util.Vector getRunsEvaluated()
public TimeBase getAlignementOfPossibleSubmission(TruthData truth)
truth
-
public int getGlobalNumberOfEvaluatedBoundariesinAllTruth()
public java.util.Vector copylistTruth(java.util.Vector v)
public int getGlobalTotalTimeofOneStoryAllTruth(java.lang.String typeStory)
typeStory
- the type of the story we are looking for, for TRECVID2003 it was "news"
public void write()
public org.w3c.dom.Element getVideosMissing(org.w3c.dom.Node run)
public int getNumberOfRunSubmitted(Submission submi)
submi
- its is a submission object wich is the Object containing all usefull information for one XML file
public int getNumberOfVideoSubmitted(org.w3c.dom.Node run)
run
- it is the the XML Node of one run
public java.lang.String getExtension(java.io.File f)
f
- the you want to get the extension from
public TruthData getTruth(VideoSubmission vidsub)
vidsub
- a VideoSubmission object, it is actually a object contaning the result for One video of One specific run of One group
public java.util.Vector loadTruthData()
public java.util.Vector loadClippingPoints()
public java.util.Vector loadOffsets()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |