biosim.app.learnedants
Class RealAntInputParser
java.lang.Object
biosim.app.learnedants.BIOHMMInputParser
biosim.app.learnedants.RealAntInputParser
public class RealAntInputParser
- extends BIOHMMInputParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
desiredVel
protected java.lang.String[] desiredVel
wallVec
protected java.lang.String[] wallVec
antVec
protected java.lang.String[] antVec
nestVec
protected java.lang.String[] nestVec
numTrackPoints
protected int numTrackPoints
NUM_SENSORS
public static final int NUM_SENSORS
- See Also:
- Constant Field Values
DIM
public static final int DIM
- See Also:
- Constant Field Values
NUM_SWITCHES
public static final int NUM_SWITCHES
- See Also:
- Constant Field Values
NEAR_THRESH
public static final double NEAR_THRESH
- See Also:
- Constant Field Values
foundSequences
protected java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> foundSequences
random
public java.util.Random random
RealAntInputParser
public RealAntInputParser(BTFData data)
getDataAtIDX
public double[] getDataAtIDX(int idx)
- Overrides:
getDataAtIDX
in class BIOHMMInputParser
getSensors
public static double[] getSensors(AbstractAnt antBody)
getSensorsAtIDX
public double[] getSensorsAtIDX(int idx)
- Overrides:
getSensorsAtIDX
in class BIOHMMInputParser
getStateAtIDX
public int getStateAtIDX(int idx)
- Overrides:
getStateAtIDX
in class BIOHMMInputParser
getSwitch
public static int getSwitch(AbstractAnt antBody)
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
initParameters
public void initParameters(double[][][] transitionFunction,
double[] prior,
int[] partition,
SimpleKDE[] b)
- Overrides:
initParameters
in class BIOHMMInputParser