|
||||||||||
| 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.SensoryCoupling
public class SensoryCoupling
Sensory Coupling represents an coupling between an agent's sensory apparatus and an input node of a neural network.
| Constructor Summary | |
|---|---|
SensoryCoupling()
Create a new sensory coupling. |
|
SensoryCoupling(Agent a,
Neuron n,
String[] sa)
Create a new sensory coupling with the specified agent, neuron, and array of sensor names. |
|
SensoryCoupling(Agent a,
String[] sa)
Create a new sensory coupling with the specified agent and array of sensor names. |
|
SensoryCoupling(Neuron n,
String[] sa)
Create a new sensory coupling with the specified neuron and array of sensor names. |
|
| Method Summary | |
|---|---|
String[] |
getSensorArray()
Return the array of sensor names for this sensory coupling. |
String |
getShortLabel()
Return a short label for this sensory coupling, that is the elements in the array of sensor names separated by spaces. |
void |
setSensorArray(String[] sa)
Set the array of sensor names for this sensory coupling to sa. |
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 SensoryCoupling()
public SensoryCoupling(Agent a,
Neuron n,
String[] sa)
a - agent for this couplingn - neuron for this couplingsa - array of sensor names for this coupling
public SensoryCoupling(Neuron n,
String[] sa)
n - neuron for this couplingsa - array of sensor names for this coupling
public SensoryCoupling(Agent a,
String[] sa)
a - agent for this couplingsa - array of sensor names for this coupling| Method Detail |
|---|
public String[] getSensorArray()
public void setSensorArray(String[] sa)
sa.
sa - array of sensor namespublic String toString()
toString in class Couplingpublic String getShortLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||