Package mgui.models.networks
Class AbstractNetwork
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.models.InterfaceAbstractModel
mgui.models.networks.AbstractNetworkModel
mgui.models.networks.AbstractNetwork
- All Implemented Interfaces:
java.lang.Cloneable
,AttributeObject
,GraphableObject
,InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,DynamicModel
- Direct Known Subclasses:
AbstractNeuralNet
,CorticalNetwork
public abstract class AbstractNetwork extends AbstractNetworkModel
-
Field Summary
Fields Modifier and Type Field Description protected IDFactory
idFactory
java.util.ArrayList<NetworkListener>
listeners
Fields inherited from class mgui.models.networks.AbstractNetworkModel
attributes, environment
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes
-
Constructor Summary
Constructors Constructor Description AbstractNetwork()
-
Method Summary
Modifier and Type Method Description void
addListener(NetworkListener l)
void
fireListeners()
protected void
fireListeners(int code)
abstract java.util.ArrayList<DynamicModelComponent>
getComponents()
abstract InterfaceAbstractGraph
getGraph()
protected void
init()
void
removeListener(NetworkListener l)
void
reset()
Methods inherited from class mgui.models.networks.AbstractNetworkModel
addListener, addSensor, clone, fireComponentAdded, fireComponentRemoved, getAttribute, getAttributes, getAttributeValue, getEnvironment, getSensors, removeListener, removeSensor, setAttribute, setAttributes, setEnvironment
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mgui.interfaces.util.CleanableObject
clean
Methods inherited from interface mgui.interfaces.InterfaceObject
destroy, isDestroyed
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
Methods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode, setTreeNode
-
Field Details
-
listeners
-
idFactory
-
-
Constructor Details
-
AbstractNetwork
public AbstractNetwork()
-
-
Method Details
-
init
protected void init() -
addListener
-
removeListener
-
fireListeners
public void fireListeners() -
fireListeners
protected void fireListeners(int code) -
reset
public void reset() -
getGraph
- Specified by:
getGraph
in interfaceGraphableObject
- Specified by:
getGraph
in classAbstractNetworkModel
-
getComponents
-