net.sourceforge.cilib.neuralnetwork.generic.evaluationmediators
Class SAILAEvaluationMediator
java.lang.Object
net.sourceforge.cilib.algorithm.Algorithm
net.sourceforge.cilib.algorithm.SingularAlgorithm
net.sourceforge.cilib.neuralnetwork.foundation.EvaluationMediator
net.sourceforge.cilib.neuralnetwork.generic.evaluationmediators.SAILAEvaluationMediator
- All Implemented Interfaces:
- Serializable, Runnable, Cloneable
public class SAILAEvaluationMediator
- extends EvaluationMediator
- Author:
- stefanv
- See Also:
- Serialized Form
Methods inherited from class net.sourceforge.cilib.neuralnetwork.foundation.EvaluationMediator |
addPrototypError, computeErrorIteration, finaliseErrors, getData, getEpochStrategy, getErrorDg, getErrorDt, getErrorDv, getNrEvaluationsPerEpoch, getPrototypeError, getTopology, getTotalEvaluations, getTrainer, incrementEvaluationsPerEpoch, performLearning, resetError, setData, setEpochStrategy, setErrorDg, setErrorDt, setErrorDv, setErrorNoOutputs, setErrorNoPatterns, setTopology, setTrainer |
Methods inherited from class net.sourceforge.cilib.algorithm.Algorithm |
addAlgorithmListener, addStoppingCondition, get, getAlgorithmList, getIterations, getOptimisationProblem, getPercentageComplete, getStoppingConditions, initialise, isFinished, performIteration, performUninitialisation, removeAlgorithmListener, removeStoppingCondition, reset, run, setOptimisationProblem, terminate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iteratorDt
protected NeuralNetworkDataIterator iteratorDt
iteratorDg
protected NeuralNetworkDataIterator iteratorDg
SAILAEvaluationMediator
public SAILAEvaluationMediator()
performInitialisation
public void performInitialisation()
- Description copied from class:
Algorithm
- Perform the needed initialisation required before the execution of the algorithm
starts.
- Overrides:
performInitialisation
in class EvaluationMediator
algorithmIteration
public void algorithmIteration()
- Description copied from class:
SingularAlgorithm
- The actual operations that the current Algorithm performs within a single
iteration.
- Overrides:
algorithmIteration
in class EvaluationMediator
evaluate
public TypeList evaluate(NNPattern p)
- Overrides:
evaluate
in class EvaluationMediator
getBestSolution
public OptimisationSolution getBestSolution()
- Description copied from class:
Algorithm
- Get the best current solution. This best solution is determined from the personal bests of the
particles.
- Overrides:
getBestSolution
in class EvaluationMediator
- Returns:
- The
OptimisationSolution
representing the best solution.
getClone
public Algorithm getClone()
- Description copied from class:
Algorithm
- 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 Cloneable
- Overrides:
getClone
in class EvaluationMediator
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
getSolutions
public List<OptimisationSolution> getSolutions()
- Description copied from class:
Algorithm
- Get the collection of best solutions. This result does not actually make sense in the normal
PSO algorithm, but rather in a MultiObjective optimization.
- Overrides:
getSolutions
in class EvaluationMediator
- Returns:
- The
Collection<OptimisationSolution>
containing the solutions.
Copyright © 2009 CIRG. All Rights Reserved.