ucs
Class SystemPredictor

java.lang.Object
  extended byucs.SystemPredictor
Direct Known Subclasses:
UCSpvSysPredictor

public class SystemPredictor
extends java.lang.Object

Default system predictor for UCS. As originally used by Bernardo et al.

Author:
Gavin Brown

Constructor Summary
SystemPredictor()
           
 
Method Summary
 int predict(java.util.ArrayList matchSet)
          Gets a prediction from a matchset.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPredictor

public SystemPredictor()
Method Detail

predict

public int predict(java.util.ArrayList matchSet)
Gets a prediction from a matchset. Note this does not yet support fitness sharing.

Parameters:
matchSet - An arraylist of individuals.
Returns:
The class predicted according to a normalized, fitness-weighted vote among the individuals.