public class PeckRecoilTranslator extends PeckTranslator
MINIMUM_FITTS_TIME, MINIMUM_MOVEMENT_TIME, PECK_FITTS_COEFFICIENT
Constructor and Description |
---|
PeckRecoilTranslator() |
Modifier and Type | Method and Description |
---|---|
boolean |
handles(ChunkTypeRequest request)
returns true if this delegate can handle a command as specified by
this chunk pattern
|
IEfferentCommand |
translate(ChunkTypeRequest request,
IEfferentObject muscle,
IModel model)
translate a
ChunkPattern into an appropriate
IEfferentCommand . |
computeDistance, getTarget
computeFitts, computeRate, getMinimumFittsTime, getMotorBurstTime, getMuscle, getPeckFittsCoefficient
adjust, getCachedMuscleNames, getMuscle, getTemplateNamed
public boolean handles(ChunkTypeRequest request)
ICommandTranslatorDelegate
handles
in interface ICommandTranslatorDelegate
handles
in class PeckTranslator
public IEfferentCommand translate(ChunkTypeRequest request, IEfferentObject muscle, IModel model) throws java.lang.IllegalArgumentException
ICommandTranslator
ChunkPattern
into an appropriate
IEfferentCommand
. By setting the
MovementCommand.MOVEMENT_RATE
, the translator may provide a hint to
common reality regarding the actual execution time of the movement.translate
in interface ICommandTranslator
translate
in class PeckTranslator
java.lang.IllegalArgumentException