Class Fusion

java.lang.Object
  |
  +--Fusion

public class Fusion
extends java.lang.Object


Constructor Summary
Fusion(VideoSubmission sub, TruthData truth)
          Constructor method.This method add the time from dubmission and from the truth in the Vector time
 
Method Summary
 void displayVector(java.util.Vector timeOrder)
          This method is used to display on the standard oupout the contents of a Vector
 TimeBase getLengthOfCommunStory(java.lang.String type)
          This method get the commun length of a specific type of story.
 java.util.Vector[] getOutputDistribution()
          This method returns a table of three Vectors useful for the ouput of the classification.
 void melt(java.util.Vector time)
          This method melts in order way the Times from Submission and truthData.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fusion

public Fusion(VideoSubmission sub,
              TruthData truth)
Constructor method.This method add the time from dubmission and from the truth in the Vector time
 
 Truth        |----|-|----|--|-----------|
 Submission  |---|-----|-|---|-----|-----|
 time        ||--|-|-|-|-||--|-----|-----|

Parameters:
sub - VideoSubmission object
truth - TruthData object associated to the submission
Method Detail

displayVector

public void displayVector(java.util.Vector timeOrder)
This method is used to display on the standard oupout the contents of a Vector

Parameters:
timeOrder - Vector

melt

public void melt(java.util.Vector time)
This method melts in order way the Times from Submission and truthData. The Vector timeOrder is updated.

Parameters:
time - Vector containing all the times

getLengthOfCommunStory

public TimeBase getLengthOfCommunStory(java.lang.String type)
This method get the commun length of a specific type of story. For TRECVID2003 it is "news"

Parameters:
type - type of the story
Returns:
TimeBAse Object

getOutputDistribution

public java.util.Vector[] getOutputDistribution()
This method returns a table of three Vectors useful for the ouput of the classification. Thus it returns
     | match |
     |nomatch|
     |missing|

Returns:
Vector[]