com.kpro.algorithm
Class Learn_Constant

java.lang.Object
  extended by com.kpro.algorithm.LearnAlgorithm
      extended by com.kpro.algorithm.Learn_Constant

public class Learn_Constant
extends LearnAlgorithm

The simplest implementation of learnAlgorithm, this literally does nothing, and thus doesn't actually learn.

Version:
29.09.11.1
Author:
ngerstle

Field Summary
 
Fields inherited from class com.kpro.algorithm.LearnAlgorithm
extraArgs, weightsConfig
 
Constructor Summary
Learn_Constant(java.util.Properties weightsConfig, java.lang.String[] extraArgs)
          constructor
 
Method Summary
protected  java.util.Properties applyML(Gio theIO)
          the code that reviews and alters the properties file.
 
Methods inherited from class com.kpro.algorithm.LearnAlgorithm
learn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Learn_Constant

public Learn_Constant(java.util.Properties weightsConfig,
                      java.lang.String[] extraArgs)
constructor

Parameters:
weightsConfig - the weights configuration file
extraArgs - from the config file
Method Detail

applyML

protected java.util.Properties applyML(Gio theIO)
the code that reviews and alters the properties file. In this case, we make no changes.

Specified by:
applyML in class LearnAlgorithm
Parameters:
theIO - an indirect reference to the policy history
Returns:
a modified properties file