biosim.app.learnedants
Class SimpleInputParser
java.lang.Object
biosim.app.learnedants.BIOHMMInputParser
biosim.app.learnedants.SimpleInputParser
public class SimpleInputParser
- extends BIOHMMInputParser
Field Summary |
protected java.lang.String[] |
input
|
protected java.lang.String[] |
output
|
static int |
SEQMAX
|
protected java.lang.String[] |
state
|
protected java.lang.String[] |
switching
|
Fields inherited from class biosim.app.learnedants.BIOHMMInputParser |
antVec, desiredVel, DIM, foodVec, foundSequences, gripperBool, nearFoodBool, nearNestBool, nestVec, NUM_SENSORS, NUM_SWITCHES, numTrackPoints, prevVec, random, stateVec, wallVec |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected java.lang.String[] output
switching
protected java.lang.String[] switching
state
protected java.lang.String[] state
input
protected java.lang.String[] input
SEQMAX
public static final int SEQMAX
- See Also:
- Constant Field Values
SimpleInputParser
public SimpleInputParser(BTFData data)
getDataAtIDX
public double[] getDataAtIDX(int idx)
- Overrides:
getDataAtIDX
in class BIOHMMInputParser
getSensorsAtIDX
public double[] getSensorsAtIDX(int idx)
- Overrides:
getSensorsAtIDX
in class BIOHMMInputParser
getSwitchAtIDX
public int getSwitchAtIDX(int idx)
- Overrides:
getSwitchAtIDX
in class BIOHMMInputParser
partSize
public int partSize()
- Overrides:
partSize
in class BIOHMMInputParser
numSwitches
public static int numSwitches()
outputDim
public static int outputDim()
sensorDim
public static int sensorDim()
getSequences
public java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> getSequences()
- Overrides:
getSequences
in class BIOHMMInputParser