Package mgui.neuro.networks
Class PerceptronNet
java.lang.Object
- All Implemented Interfaces:
java.lang.Cloneable,AttributeObject,GraphableObject,InterfaceObject,NamedObject,InterfaceNeuroComponentListener,TreeObject,CleanableObject,DynamicModel,InterfaceNetworkComponentListener
public class PerceptronNet extends AbstractNeuralNet
-
Field Summary
Fields inherited from class mgui.neuro.networks.AbstractNeuralNet
inputs, MODE_TEST, MODE_TRAIN, unitsFields inherited from class mgui.models.networks.AbstractNetwork
idFactory, listenersFields inherited from class mgui.models.networks.AbstractNetworkModel
attributes, environmentFields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes -
Constructor Summary
Constructors Constructor Description PerceptronNet() -
Method Summary
Methods inherited from class mgui.neuro.networks.AbstractNeuralNet
addUnit, addUnit, componentUpdated, fireUnitAdded, getComponents, getDataSources, getGraph, getName, getUnitCount, init, removeUnit, setName, setTreeNodeMethods inherited from class mgui.models.networks.AbstractNetwork
addListener, fireListeners, fireListeners, removeListener, resetMethods inherited from class mgui.models.networks.AbstractNetworkModel
addListener, addSensor, fireComponentAdded, fireComponentRemoved, getAttribute, getAttributes, getAttributeValue, getEnvironment, getSensors, removeListener, removeSensor, setAttribute, setAttributes, setEnvironmentMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mgui.interfaces.util.CleanableObject
cleanMethods inherited from interface mgui.interfaces.InterfaceObject
destroy, isDestroyedMethods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode
-
Constructor Details
-
PerceptronNet
public PerceptronNet()
-
-
Method Details
-
getEnergy
public double getEnergy()Description copied from class:AbstractNeuralNetReturns the energy calculation for this neural network. I.e., the Lyapunov function. All instances of AbstractNeuralNet must implement this.- Specified by:
getEnergyin classAbstractNeuralNet- Returns:
-
clone
public java.lang.Object clone()- Specified by:
clonein classAbstractNetworkModel
-