com.mancrd.ahah.motorcontroller
Class Actuator
java.lang.Object
com.mancrd.ahah.motorcontroller.Actuator
public class Actuator
- extends Object
This class encapsulates all of the learning
- Author:
- alexnugent
Constructor Summary |
Actuator(int numJoints,
int numFibers,
int delay)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Actuator
public Actuator(int numJoints,
int numFibers,
int delay)
- Constructor
- Parameters:
labels
- delay
-
update
public int[] update(Set<String> spikes,
double value)
- Parameters:
spikes
- - a Collection of Objects. The internal map keys off of the Objects' toString() values, so make sure your Objects implement
unique toString() implementationsvalue
-
- Returns:
- - labels as ints
getNumUniqueLabels
public int getNumUniqueLabels()
Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.