Neuroph

org.neuroph.util.plugins
Class PluginBase

java.lang.Object
  extended by org.neuroph.util.plugins.PluginBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LabelsPlugin

public class PluginBase
extends java.lang.Object
implements java.io.Serializable

The PluginBase class is base class for all neural network plugins.

See Also:
Serialized Form

Field Summary
private  java.lang.String name
          Name for this plugin
private  NeuralNetwork parentNetwork
          Reference to parent neural network
private static long serialVersionUID
          The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
 
Constructor Summary
PluginBase(java.lang.String name)
          Creates an instance of plugin for neural network
 
Method Summary
 java.lang.String getName()
          Returns the name of this plugin
 NeuralNetwork getParentNetwork()
          Returns the parent network for this plugin
 void setParentNetwork(NeuralNetwork parentNetwork)
          Sets the parent network for this plugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

See Also:
Constant Field Values

name

private java.lang.String name
Name for this plugin


parentNetwork

private NeuralNetwork parentNetwork
Reference to parent neural network

Constructor Detail

PluginBase

public PluginBase(java.lang.String name)
Creates an instance of plugin for neural network

Method Detail

getName

public java.lang.String getName()
Returns the name of this plugin

Returns:
name of this plugin

getParentNetwork

public NeuralNetwork getParentNetwork()
Returns the parent network for this plugin

Returns:
parent network for this plugin

setParentNetwork

public void setParentNetwork(NeuralNetwork parentNetwork)
Sets the parent network for this plugin

Parameters:
parentNetwork - parent network for this plugin

Neuroph