com.mancrd.ahah.samples.motorcontroller.roboticarm
Class RoboticArmSpikeEncoder

java.lang.Object
  extended by com.mancrd.ahah.commons.spikes.SpikeEncoder<PropertyChangeEvent>
      extended by com.mancrd.ahah.samples.motorcontroller.roboticarm.RoboticArmSpikeEncoder
All Implemented Interfaces:
Serializable

public class RoboticArmSpikeEncoder
extends com.mancrd.ahah.commons.spikes.SpikeEncoder<PropertyChangeEvent>

Author:
timmolter
See Also:
Serialized Form

Constructor Summary
RoboticArmSpikeEncoder()
           
 
Method Summary
 Set<String> getSpikes(PropertyChangeEvent pce)
           
 int getTotalNumberOfPossibleFeatures(int numJoints)
          Given the number of joints, how many possible unique features are there
 short getUniquePositiveID()
           
 
Methods inherited from class com.mancrd.ahah.commons.spikes.SpikeEncoder
encode, getIdFromSpike, getOriginalSpikeIDFromComposite, getReverseMap, getSpikeLabel, getSpikeLabel, getSpikePatternSpace, setSpikeLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoboticArmSpikeEncoder

public RoboticArmSpikeEncoder()
Method Detail

getSpikes

public Set<String> getSpikes(PropertyChangeEvent pce)
Specified by:
getSpikes in class com.mancrd.ahah.commons.spikes.SpikeEncoder<PropertyChangeEvent>

getTotalNumberOfPossibleFeatures

public int getTotalNumberOfPossibleFeatures(int numJoints)
Given the number of joints, how many possible unique features are there

Parameters:
numJoints -
Returns:

getUniquePositiveID

public short getUniquePositiveID()
Specified by:
getUniquePositiveID in class com.mancrd.ahah.commons.spikes.SpikeEncoder<PropertyChangeEvent>


Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.