RLPark 1.0.0
Reinforcement Learning Framework in Java

Syncs.java

Go to the documentation of this file.
00001 package rlpark.plugin.robot.internal.sync;
00002 
00003 import rlpark.plugin.robot.observations.ObservationVersatile;
00004 
00005 public class Syncs {
00006   static public ObservationVersatile createObservation(long time, LiteByteBuffer buffer, ScalarInterpreter interpreter) {
00007     double[] doubleValues = new double[interpreter.size()];
00008     interpreter.interpret(buffer, doubleValues);
00009     return new ObservationVersatile(time, buffer.array().clone(), doubleValues);
00010   }
00011 }
 All Classes Namespaces Files Functions Variables Enumerations
Zephyr
RLPark