|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.Observable
|
+--edu.ull.cgunay.plots.Profilable
|
+--neuroidnet.ntr.Neuroid.Mode
Modes that a neuron can have.
TODO: Make this a hierarchy of classes in a subpackage called umt
| Nested Class Summary | |
(package private) class |
Neuroid.Mode.State
|
| Field Summary | |
(package private) int |
state
State of neuroid, can only take values defined here. |
(package private) double |
threshold
Threshold of the neuroid. |
| Fields inherited from class java.util.Observable |
|
| Constructor Summary | |
(package private) |
Neuroid.Mode()
Dummy constructor. |
(package private) |
Neuroid.Mode(int state,
double threshold)
|
| Method Summary | |
double |
doubleValue()
|
Neuroid |
getNeuroid()
Returns a reference to the enclosing Neuroid. |
String |
getProperties()
Nothing special. |
int |
getState()
Get the value of state. |
String |
getStatus()
toString() plus state, threshold. |
double |
getThreshold()
Get the value of threshold. |
void |
init()
|
void |
setState(int v)
Set the value of state. |
void |
setThreshold(double v)
Set the value of threshold. |
abstract void |
step()
|
void |
stop()
N/A |
String |
toString()
Strip fully qualified class name to leave only the class name. |
| Methods inherited from class edu.ull.cgunay.plots.Profilable |
getClone |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
int state
double threshold
| Constructor Detail |
Neuroid.Mode()
Neuroid.Mode(int state,
double threshold)
| Method Detail |
public int getState()
public void setState(int v)
v - Value to assign to state.public double getThreshold()
public void setThreshold(double v)
v - Value to assign to threshold.public void init()
init in interface Simulationpublic void stop()
stop in interface Simulationpublic String toString()
toString in interface ExpressivetoString in class ObjectString valuepublic String getStatus()
toString() plus state, threshold.
getStatus in interface ExpressiveString valueExpressive.toString()public String getProperties()
getProperties in interface ExpressiveString valueExpressive.getStatus()public double doubleValue()
doubleValue in class Profilablepublic Neuroid getNeuroid()
Neuroid.
Neuroid valuepublic abstract void step()
step in interface Simulation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||