public abstract class AbstractManualTranslator extends AbstractTranslator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MINIMUM_FITTS_TIME |
static java.lang.String |
MINIMUM_MOVEMENT_TIME |
static java.lang.String |
PECK_FITTS_COEFFICIENT |
Constructor and Description |
---|
AbstractManualTranslator() |
Modifier and Type | Method and Description |
---|---|
protected double |
computeFitts(double fittsCoeff,
double distance,
double width) |
protected double[] |
computeRate(double[] origin,
double[] target,
double duration) |
protected double |
getMinimumFittsTime(IMotorModule module) |
protected double |
getMotorBurstTime(IMotorModule module) |
IEfferentObject |
getMuscle(ChunkTypeRequest request,
IModel model)
translates a set of slot values into a
IEfferentObject that
represents a muscle defined within the pattern. |
protected double |
getPeckFittsCoefficient(IMotorModule module) |
adjust, getCachedMuscleNames, getMuscle, getTemplateNamed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handles
translate
public static final java.lang.String PECK_FITTS_COEFFICIENT
public static final java.lang.String MINIMUM_FITTS_TIME
public static final java.lang.String MINIMUM_MOVEMENT_TIME
public IEfferentObject getMuscle(ChunkTypeRequest request, IModel model) throws java.lang.IllegalArgumentException
IEfferentObject
that
represents a muscle defined within the pattern. Since many ACT-R movement
commands use multiple slots to define a muscle, this collapses them. (i.e.
translates hand right finger index into right-index). In addition to the
returned IEfferentObject
this method should also ensure that the
slots used to define the muscle are nulled out and the muscle slot is
specified.request
- model
- java.lang.IllegalArgumentException
protected double getMotorBurstTime(IMotorModule module)
protected double getMinimumFittsTime(IMotorModule module)
protected double getPeckFittsCoefficient(IMotorModule module)
protected double computeFitts(double fittsCoeff, double distance, double width)
protected double[] computeRate(double[] origin, double[] target, double duration)