RLPark 1.0.0
Reinforcement Learning Framework in Java

ConstantOutcomeFunction.java

Go to the documentation of this file.
00001 package rlpark.plugin.rltoys.horde.functions;
00002 
00003 public class ConstantOutcomeFunction implements OutcomeFunction {
00004   private static final long serialVersionUID = -839152208374863448L;
00005   private final double outcome;
00006 
00007   public ConstantOutcomeFunction(double outcome) {
00008     this.outcome = outcome;
00009   }
00010 
00011   @Override
00012   public double outcome() {
00013     return outcome;
00014   }
00015 }
 All Classes Namespaces Files Functions Variables Enumerations
Zephyr
RLPark