yawn.nn.committee.functions
Class Popularity

java.lang.Object
  extended by yawn.nn.committee.functions.CommitteeFunction
      extended by yawn.nn.committee.functions.Popularity

public class Popularity
extends CommitteeFunction

$Id: Popularity.java,v 1.4 2005/04/07 17:28:30 supermarti Exp $

Version:
$Revision: 1.4 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Constructor Summary
Popularity()
           
 
Method Summary
 Pattern assamble(Pattern[] x)
          Builds a committe response from an array of outputs.
protected  double piecewise(double[] x)
          Computes the value of an output feature of a committe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Popularity

public Popularity()
Method Detail

piecewise

protected double piecewise(double[] x)
Description copied from class: CommitteeFunction
Computes the value of an output feature of a committe.

Specified by:
piecewise in class CommitteeFunction
Parameters:
x - the feature of each each committe member's output
Returns:
the resulting output feature
See Also:
CommitteeFunction.piecewise(double[])

assamble

public Pattern assamble(Pattern[] x)
Description copied from class: CommitteeFunction
Builds a committe response from an array of outputs. For each feature of the output piecewise() is called.

Overrides:
assamble in class CommitteeFunction
Parameters:
x - outputs of the committe members
Returns:
the output of the committe


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.