org.jactr.tools.misc
Class ProceduralUtilities

java.lang.Object
  extended by org.jactr.tools.misc.ProceduralUtilities

public class ProceduralUtilities
extends java.lang.Object


Constructor Summary
ProceduralUtilities()
           
 
Method Summary
static java.util.concurrent.Future<java.lang.Boolean> reward(org.jactr.core.model.IModel model, double reward)
          reward/punish the model using #executeLater(IModel, Runnable).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProceduralUtilities

public ProceduralUtilities()
Method Detail

reward

public static java.util.concurrent.Future<java.lang.Boolean> reward(org.jactr.core.model.IModel model,
                                                                    double reward)
                                                             throws java.lang.IllegalStateException
reward/punish the model using #executeLater(IModel, Runnable). This assumes that the model has IProceduralLearningModule6 installed

Parameters:
model -
reward -
Returns:
Throws:
java.lang.IllegalStateException