RLPark 1.0.0
Reinforcement Learning Framework in Java

FunctionProjected2D.java

Go to the documentation of this file.
00001 package rlpark.plugin.rltoys.agents.functions;
00002 
00003 import rlpark.plugin.rltoys.algorithms.functions.states.Projector;
00004 import rlpark.plugin.rltoys.math.ranges.Range;
00005 
00006 public abstract class FunctionProjected2D {
00007   protected final Projector projector;
00008   protected final Range xRange;
00009   protected final Range yRange;
00010 
00011   public FunctionProjected2D(Projector projector, Range xRange, Range yRange) {
00012     this.projector = projector;
00013     this.xRange = xRange;
00014     this.yRange = yRange;
00015   }
00016 
00017   public double minX() {
00018     return xRange.min();
00019   }
00020 
00021   public double maxX() {
00022     return xRange.max();
00023   }
00024 
00025   public double minY() {
00026     return yRange.min();
00027   }
00028 
00029   public double maxY() {
00030     return yRange.max();
00031   }
00032 }
 All Classes Namespaces Files Functions Variables Enumerations
Zephyr
RLPark