| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package plugins :: Package brains :: Module NNRandom :: Class Reinforce |
|
object--+ |_Verbose--+ |Thread--+ |Brain--+ | Reinforce
| Method Summary | |
|---|---|
Method to override if you create objects (such as devices). | |
PorM(self,
a,
b)
| |
scale val to fall between 0 and 1... | |
Init the brain, and create the network... | |
everything else... | |
| Inherited from Brain | |
Constructor for Brain class. | |
Short-cut to call the robot's getDevice method. | |
Returns the engine property. | |
Short-cut to call the robot's hasA method. | |
Method that creates a window; seen under Brain -> Watch. | |
Short-cut to call the robot's motors method. | |
Short-cut to call the robot's move method. | |
Signals the thread that we need to stop running. | |
Signals the thread that we need to start stepping. | |
Signals the thread to make a step. | |
Signals the thread that we need to stop stepping the robot. | |
Signals the thread that we need to stop running. | |
Redraws the brain watch window. | |
Short-cut to call the robot's removeDevice method. | |
Short-cut to call the robot's requires method. | |
Short-cut to call the robot's rotate method. | |
Runs the brain/thread. | |
Short-cut to call the robot's startDevice method. | |
Short-cut to call the robot's stop method. | |
Short-cut to call the robot's translate method. | |
Short-cut to call the robot's update method. | |
| Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Method Details |
|---|
destroy(self)Method to override if you create objects (such as devices).
|
scale(self, val)scale val to fall between 0 and 1 |
setup(self)Init the brain, and create the network
|
step(self)everything else .input latest sensor and motor values to network .propagate .move by resulting motor output .set targets according to new sensor and motor values .backpropagate
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 | http://epydoc.sf.net |