|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.ai.nn.gui.topology.NetworkTools
Common menues and eventhandlers for Network-editing
Constructor Summary | |
NetworkTools(java.awt.Component component)
Creates a new instance of NetworkToolbox |
Method Summary | |
static void |
addNeuronToLayer(DataModel data,
GUILayer gLayer,
boolean bConnected)
Creates and adds a neuron to a specific layer |
static DataModel |
createNewModel()
|
static void |
deleteNeuronsFromLayer(java.util.Vector neurons)
Deletes all neurons in the given Vector |
static void |
doWeightChange(GUIConnection gconn)
Shows a messagebox to change the weight of the first selected connection. |
static void |
gridLayout(DataModel data)
Starts the Grid AutoLayouter |
void |
Popup_Clicked(java.awt.event.ActionEvent e)
Eventhandler for all Popupmenus. |
static void |
randomizeWeights(DataModel datamodel)
|
static void |
removeLayer(GUILayer gLayer)
Removes the selected Layer |
static boolean |
selectLayer(DataModel data,
Layer layer,
boolean additive)
Select a GUILayer based on a Layer's data |
static boolean |
selectLayer(DataModel data,
long lID,
boolean additive)
Select a GUILayer in the given datamodel |
static boolean |
selectNeuron(DataModel data,
long layerID,
long neuronID,
boolean additive)
Select a GUINeuron in the given datamodel |
static boolean |
selectNeuron(DataModel data,
Neuron neuron,
boolean additive)
Select a GUINeuron based on a Neuron's data |
void |
show(java.lang.String menuname,
int x,
int y)
Method declaration |
static void |
showLayerWizzard(DataModel data)
Show the LayerWizzard and add a Layer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NetworkTools(java.awt.Component component)
Method Detail |
public void Popup_Clicked(java.awt.event.ActionEvent e)
Popup_Clicked
in interface AIPopupMenuListener
public void show(java.lang.String menuname, int x, int y)
menuname
- x
- y
- public static void doWeightChange(GUIConnection gconn)
public static DataModel createNewModel()
public static void addNeuronToLayer(DataModel data, GUILayer gLayer, boolean bConnected)
public static void gridLayout(DataModel data)
public static void deleteNeuronsFromLayer(java.util.Vector neurons)
public static boolean selectLayer(DataModel data, Layer layer, boolean additive)
data
- Datamodel that contains the layerlayer
- Layer for witch a GUILayer should be foundadditive
- true=add the layer to the current selected items, false=clear selection, then select the layer
public static boolean selectLayer(DataModel data, long lID, boolean additive)
data
- Datamodel that contains the layerlID
- ID of the layeradditive
- true=add the layer to the current selected items, false=clear selection, then select the layer
public static boolean selectNeuron(DataModel data, Neuron neuron, boolean additive)
data
- Datamodel that contains the layerneuron
- Neuron for witch a GUILayer should be foundadditive
- true=add the neuron to the current selected items, false=clear selection, then select the neuron
public static boolean selectNeuron(DataModel data, long layerID, long neuronID, boolean additive)
data
- Datamodel that contains the layerlayerID
- ID of the layeradditive
- true=add the neuron to the current selected items, false=clear selection, then select the neuron
public static void showLayerWizzard(DataModel data)
public static void removeLayer(GUILayer gLayer)
public static void randomizeWeights(DataModel datamodel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |