com.mancrd.ahah.commons.spikes
Class SpikeEncoder<T>
java.lang.Object
com.mancrd.ahah.commons.spikes.SpikeEncoder<T>
- All Implemented Interfaces:
- Serializable
public abstract class SpikeEncoder<T>
- extends Object
- implements Serializable
- Author:
- alexnugent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpikeEncoder
public SpikeEncoder()
- Constructor
getSpikes
public abstract Set<String> getSpikes(T data)
- abstract methods
getUniquePositiveID
public abstract short getUniquePositiveID()
encode
public long[] encode(T data)
getIdFromSpike
public short getIdFromSpike(long compositeSpike)
getOriginalSpikeIDFromComposite
public int getOriginalSpikeIDFromComposite(long compositeSpike)
setSpikeLabel
public void setSpikeLabel(List<LinkWeight> linkWeights)
getSpikeLabel
public String getSpikeLabel(int spike)
getSpikeLabel
public String getSpikeLabel(long spike)
getReverseMap
public gnu.trove.map.TIntObjectMap<String> getReverseMap()
getSpikePatternSpace
public int getSpikePatternSpace()
Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.