yawn.config
Class NeuralNetworkConfig

java.lang.Object
  extended by yawn.config.ConfigElement
      extended by yawn.config.NeuralNetworkConfig
Direct Known Subclasses:
AppArtConfig, FuzzyArtMapConfig, GeneticParameterFitterConfig, MultiLayerPerceptronConfig, NetworkCommitteeConfig, SmartMultiLayerPerceptronConfig

public abstract class NeuralNetworkConfig
extends ConfigElement

This is yawn.nn.NeuralNetworkConfig, part of the yawn project. $Id: NeuralNetworkConfig.java,v 1.5 2005/04/07 17:28:26 supermarti Exp $

Version:
$Revision: 1.5 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Field Summary
protected  Environment environment
          The environment in which this network will be trained.
 
Constructor Summary
protected NeuralNetworkConfig()
           
 
Method Summary
 NeuralNetwork configuredNetworkFactory()
          A factory of ready to train (and use) neural networks
protected  void environmentValidate()
           
abstract  java.lang.Class getBindedNetworkClass()
           
 Environment getEnvironment()
           
protected abstract  void internalValidate()
           
 void setBindedNetworkClass(java.lang.Class clazz)
          By default throws java.lang.UnsupportedOperationException.
 void setEnvironment(Environment environment)
           
 void validate()
          Validates the a NeuralNetworkConfig instance.
 
Methods inherited from class yawn.config.ConfigElement
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

environment

protected Environment environment
The environment in which this network will be trained.

Constructor Detail

NeuralNetworkConfig

protected NeuralNetworkConfig()
Method Detail

configuredNetworkFactory

public NeuralNetwork configuredNetworkFactory()
A factory of ready to train (and use) neural networks

Returns:
Returns a configured network.

getBindedNetworkClass

public abstract java.lang.Class getBindedNetworkClass()

setBindedNetworkClass

public void setBindedNetworkClass(java.lang.Class clazz)
By default throws java.lang.UnsupportedOperationException.

See Also:
setBindedNetworkClass(java.lang.Class)

validate

public void validate()
              throws ValidationException
Validates the a NeuralNetworkConfig instance.

Throws:
ValidationException - if validation failed

internalValidate

protected abstract void internalValidate()
                                  throws ValidationException
Throws:
ValidationException

environmentValidate

protected void environmentValidate()
                            throws ValidationException
Throws:
ValidationException

getEnvironment

public Environment getEnvironment()

setEnvironment

public void setEnvironment(Environment environment)


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.