de.fu_berlin.ties.extract
Class TrainEval.Results

java.lang.Object
  extended by de.fu_berlin.ties.extract.TrainEval.Results
Enclosing class:
TrainEval

public static class TrainEval.Results
extends Object

An inner class wrapping the results of a training + evaluation run.


Constructor Summary
TrainEval.Results()
          Creates a new instance.
 
Method Summary
 EvaluatedExtractionContainer getEvaluated(int iteration)
          Returns one of the stored evaluated extraction containers.
 EvaluatedExtractionContainer getEvaluated(Integer iteration)
          Returns one of the stored evaluated extraction containers.
 Iterator<Integer> iterations()
          Returns an iterator over the TUNE iterations for which extraction results are stored.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrainEval.Results

public TrainEval.Results()
Creates a new instance.

Method Detail

getEvaluated

public EvaluatedExtractionContainer getEvaluated(Integer iteration)
Returns one of the stored evaluated extraction containers.

Parameters:
iteration - the number of the TUNE iteration to return; must be contained in iterations(), otherwise null will be returned
Returns:
the specified container

getEvaluated

public EvaluatedExtractionContainer getEvaluated(int iteration)
Returns one of the stored evaluated extraction containers.

Parameters:
iteration - the number index of the TUNE iterations to return; must be contained in iterations(), otherwise null will be returned
Returns:
the specified container

iterations

public Iterator<Integer> iterations()
Returns an iterator over the TUNE iterations for which extraction results are stored.

Returns:
an iterator over the TUNE iterations

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object
Returns:
a textual representation


Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.