|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the common interface for a displayable Neuron. This interface extends the neuralnet-neuron with GUI-Properties and methods
Method Summary | |
void |
addConnection(Connection connection)
Constructs a new GUIConnection and adds it |
java.util.Vector |
getConnections()
Returns a vector containing all GUIConnections of this neuron |
Neuron |
getNeuron()
Returns the encapsulated neuron |
int |
getType()
Returns the type of the neurons |
int |
getX()
Returns the actual X-position of the neuron |
int |
getY()
Returns the actual Y-position of the neuron |
void |
removeConnection(Connection connection)
Removes a GUIConnection (based on a connection-instance) |
void |
setX(int x)
Sets the neurons X-position |
void |
setY(int y)
Sets the neurons X-position |
Methods inherited from interface net.openai.ai.nn.gui.data.Drawable |
contains, getSelected, paint, setSelected |
Methods inherited from interface net.openai.ai.nn.gui.data.DataObject |
getID, getParent, getSibbling, setID, setParent |
Method Detail |
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getType()
public Neuron getNeuron()
public void addConnection(Connection connection)
public void removeConnection(Connection connection)
public java.util.Vector getConnections()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |