RLPark 1.0.0
Reinforcement Learning Framework in Java

ObservationVersatile.java

Go to the documentation of this file.
00001 package rlpark.plugin.robot.observations;
00002 
00003 import rlpark.plugin.rltoys.envio.observations.Observation;
00004 
00005 
00006 public class ObservationVersatile implements Observation {
00007   private final long timestamp;
00008   private final double[] doubleValues;
00009   private final byte[] byteValues;
00010 
00011   public ObservationVersatile(long timestamp, byte[] byteValues, double[] doubleValues) {
00012     this.timestamp = timestamp;
00013     this.byteValues = byteValues;
00014     this.doubleValues = doubleValues;
00015   }
00016 
00017   public byte[] rawData() {
00018     return byteValues;
00019   }
00020 
00021   public double[] doubleValues() {
00022     return doubleValues;
00023   }
00024 
00025   public long time() {
00026     return timestamp;
00027   }
00028 }
 All Classes Namespaces Files Functions Variables Enumerations
Zephyr
RLPark