|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.coupling.Coupling
org.simnet.coupling.MotorCoupling
public class MotorCoupling
Motor Coupling represents a coupling between the output node of a neural network and some form of agent movement. E.g. a motor neuron and a form of behavior.
| Constructor Summary | |
|---|---|
MotorCoupling()
Create a new motor coupling. |
|
MotorCoupling(Agent a,
Neuron n,
String[] ca)
Create a new motor coupling with the specified agent, neuron, and array of command names. |
|
MotorCoupling(Agent a,
String[] ca)
Create a new motor coupling with the specified agent and array of command names. |
|
MotorCoupling(Neuron n,
String[] ca)
Create a new motor coupling with the specified neuron and array of command names. |
|
| Method Summary | |
|---|---|
String[] |
getCommandArray()
Return the array of command names for this motor coupling. |
String |
getShortLabel()
Return a short label for this motor coupling, that is the elements in the array of command names separated by spaces. |
void |
setCommandArray(String[] ca)
Set the array of command names for this motor coupling to ca. |
String |
toString()
Return debug information. |
| Methods inherited from class org.simnet.coupling.Coupling |
|---|
getAgent, getAgentName, getNetworkName, getNeuron, getNeuronName, getWorld, getWorldName, getWorldType, initCastor, isAttached, setAgent, setAgentName, setNetworkName, setNeuron, setNeuronName, setWorldName, setWorldType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MotorCoupling()
public MotorCoupling(Agent a,
String[] ca)
a - agent for this couplingca - array of command names for this motor coupling
public MotorCoupling(Agent a,
Neuron n,
String[] ca)
a - agent for this couplingn - neuron for this couplingca - array of command names for this motor coupling
public MotorCoupling(Neuron n,
String[] ca)
n - neuron for this couplingca - array of command names for this motor coupling| Method Detail |
|---|
public String[] getCommandArray()
public void setCommandArray(String[] ca)
ca.
ca - array of command names for this motor couplingpublic String toString()
toString in class Couplingpublic String getShortLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||