net.sourceforge.cilib.neuralnetwork.foundation
Class NeuralNetworkProblem

java.lang.Object
  extended by net.sourceforge.cilib.neuralnetwork.foundation.NeuralNetworkProblem
All Implemented Interfaces:
Serializable, Initializable, OptimisationProblem, Problem, Cloneable

Deprecated. This class is no longer really valid.

@Deprecated
public class NeuralNetworkProblem
extends Object
implements OptimisationProblem, Initializable

Author:
stefanv
See Also:
Serialized Form

Field Summary
protected  EvaluationMediator evaluationStrategy
          Deprecated.  
protected  int fitnessEvaluations
          Deprecated.  
 
Constructor Summary
NeuralNetworkProblem()
          Deprecated.  
NeuralNetworkProblem(NeuralNetworkProblem rhs)
          Deprecated.  
 
Method Summary
 void accept(ProblemVisitor visitor)
          Deprecated. Accept the provided Visitor and perform the Visitor.visit(Object) method.
 void changeEnvironment()
          Deprecated. Change the environment.
 TypeList evaluate(Vector in)
          Deprecated.  
 DomainRegistry getBehaviouralDomain()
          Deprecated. Returns the domain component that describes the search space of the needed behavioral characteristics of the problem.
 NeuralNetworkProblem getClone()
          Deprecated. Create a cloned copy of the current object and return it.
 DataSetBuilder getDataSetBuilder()
          Deprecated. Get the associated DataSetBuilder.
 DomainRegistry getDomain()
          Deprecated. Returns the domain component that describes the search space for this problem.
 EvaluationMediator getEvaluationStrategy()
          Deprecated.  
 Fitness getFitness(Type solution, boolean count)
          Deprecated. Returns the fitness of a potential solution to this problem.
 int getFitnessEvaluations()
          Deprecated. Returns the number of times the underlying fitness function has been evaluated.
 NeuralNetworkTopology getTopology()
          Deprecated.  
 void initialize()
          Deprecated.  
 NNError[] learningEpoch()
          Deprecated.  
 void setDataSetBuilder(DataSetBuilder dataSetBuilder)
          Deprecated. Set the DataSetBuilder for this optimistion problem.
 void setEvaluationStrategy(EvaluationMediator evaluationStrategy)
          Deprecated.  
 void setTopology(NeuralNetworkTopology topology)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fitnessEvaluations

protected int fitnessEvaluations
Deprecated. 

evaluationStrategy

protected EvaluationMediator evaluationStrategy
Deprecated. 
Constructor Detail

NeuralNetworkProblem

public NeuralNetworkProblem()
Deprecated. 

NeuralNetworkProblem

public NeuralNetworkProblem(NeuralNetworkProblem rhs)
Deprecated. 
Method Detail

getClone

public NeuralNetworkProblem getClone()
Deprecated. 
Description copied from interface: OptimisationProblem
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface OptimisationProblem
Specified by:
getClone in interface Problem
Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

initialize

public void initialize()
Deprecated. 
Specified by:
initialize in interface Initializable

learningEpoch

public NNError[] learningEpoch()
Deprecated. 

evaluate

public TypeList evaluate(Vector in)
Deprecated. 

getFitness

public Fitness getFitness(Type solution,
                          boolean count)
Deprecated. 
Description copied from interface: OptimisationProblem
Returns the fitness of a potential solution to this problem. The solution object is described by the domain of this problem, see OptimisationProblem.getDomain(). An instance of InferiorFitness should be returned if the solution falls outside the search space of this problem.

Specified by:
getFitness in interface OptimisationProblem
Parameters:
solution - The potential solution found by the optimisation algorithm.
count - True if this call should contribute to the fitness evaluation count, see OptimisationProblem.getFitnessEvaluations().
Returns:
The fitness of the solution.

getFitnessEvaluations

public int getFitnessEvaluations()
Deprecated. 
Description copied from interface: OptimisationProblem
Returns the number of times the underlying fitness function has been evaluated.

Specified by:
getFitnessEvaluations in interface OptimisationProblem
Returns:
The number fitness evaluations.

getTopology

public NeuralNetworkTopology getTopology()
Deprecated. 

setTopology

public void setTopology(NeuralNetworkTopology topology)
Deprecated. 

getEvaluationStrategy

public EvaluationMediator getEvaluationStrategy()
Deprecated. 

getDomain

public DomainRegistry getDomain()
Deprecated. 
Description copied from interface: OptimisationProblem
Returns the domain component that describes the search space for this problem.

Specified by:
getDomain in interface OptimisationProblem
Returns:
A DomainRegistry object representing the search space.

getBehaviouralDomain

public DomainRegistry getBehaviouralDomain()
Deprecated. 
Description copied from interface: OptimisationProblem
Returns the domain component that describes the search space of the needed behavioral characteristics of the problem. This is mainly used for ECs, however, the use of behavioral parameters with PSO will be investigated.

Specified by:
getBehaviouralDomain in interface OptimisationProblem
Returns:
The domain of the behavioral component

setEvaluationStrategy

public void setEvaluationStrategy(EvaluationMediator evaluationStrategy)
Deprecated. 

getDataSetBuilder

public DataSetBuilder getDataSetBuilder()
Deprecated. 
Description copied from interface: OptimisationProblem
Get the associated DataSetBuilder.

Specified by:
getDataSetBuilder in interface OptimisationProblem
Returns:
The currently associated DataSetBuilder.

setDataSetBuilder

public void setDataSetBuilder(DataSetBuilder dataSetBuilder)
Deprecated. 
Description copied from interface: OptimisationProblem
Set the DataSetBuilder for this optimistion problem.

Specified by:
setDataSetBuilder in interface OptimisationProblem
Parameters:
dataSetBuilder - The DataSetBuilder to be set on the current OptimisationProblem.

accept

public void accept(ProblemVisitor visitor)
Deprecated. 
Description copied from interface: OptimisationProblem
Accept the provided Visitor and perform the Visitor.visit(Object) method.

Specified by:
accept in interface OptimisationProblem
Parameters:
visitor - The visitor which has operations to perform.

changeEnvironment

public void changeEnvironment()
Deprecated. 
Description copied from interface: Problem
Change the environment. TODO: this might need to be refactored.

Specified by:
changeEnvironment in interface Problem


Copyright © 2009 CIRG. All Rights Reserved.