biosim.app.learnedants
Class SimpleInputParser

java.lang.Object
  extended by biosim.app.learnedants.BIOHMMInputParser
      extended by 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
 
Constructor Summary
SimpleInputParser(BTFData data)
           
 
Method Summary
 double[] getDataAtIDX(int idx)
           
 double[] getSensorsAtIDX(int idx)
           
 java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> getSequences()
           
 int getSwitchAtIDX(int idx)
           
static int numSwitches()
           
static int outputDim()
           
 int partSize()
           
static int sensorDim()
           
 
Methods inherited from class biosim.app.learnedants.BIOHMMInputParser
getSensors, getStateAtIDX, getSwitch, initParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SimpleInputParser

public SimpleInputParser(BTFData data)
Method Detail

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