uk.ac.shef.dcs.oak.jate.core.voting
Class WeightedOutput

java.lang.Object
  extended by uk.ac.shef.dcs.oak.jate.core.voting.WeightedOutput

public class WeightedOutput
extends java.lang.Object

Represents weigted term recognition result in a voting system.


Constructor Summary
WeightedOutput(java.util.List<Term> result, double weight)
          Creates an instance which holds ranked list of terms extracted by an algorithm, and the voting power (weight) assigned to that algorithm.
 
Method Summary
 java.util.List<Term> getOutputList()
           
 double getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedOutput

public WeightedOutput(java.util.List<Term> result,
                      double weight)
Creates an instance which holds ranked list of terms extracted by an algorithm, and the voting power (weight) assigned to that algorithm.

Parameters:
result -
weight -
Method Detail

getWeight

public double getWeight()

getOutputList

public java.util.List<Term> getOutputList()