RLPark 1.0.0
Reinforcement Learning Framework in Java

Squared.java

Go to the documentation of this file.
00001 package zephyr.plugin.core.api.internal.monitoring.wrappers;
00002 
00003 import zephyr.plugin.core.api.monitoring.abstracts.Monitored;
00004 
00005 public class Squared implements MonitorWrapper {
00006   public static final String ID = "squared";
00007 
00008   @Override
00009   public Monitored createMonitored(final Monitored logged) {
00010     return new Monitored() {
00011       @Override
00012       public double monitoredValue() {
00013         double value = logged.monitoredValue();
00014         return value * value;
00015       }
00016     };
00017   }
00018 }
 All Classes Namespaces Files Functions Variables Enumerations
Zephyr
RLPark