public class SimulatedAnnealing extends GeneticAlgorithm
SimulatedAnnealing is the simulated annealing evolutionary algorithm and
programming (SAP) algorithm as detailed in "Combining GP operators with SA
search to evolve fuzzy rule based classifiers", Sanchez, Couso, Corrales
Information Sciences 136 (2001).
This class is an specification of GeneticAlgorithm
.
Constructor and Description |
---|
SimulatedAnnealing(GeneticIndividual initialIndividual,
double pPROBMUTAGA,
double deltaFit,
double p0,
double p1,
double KM,
int pNSUB,
Randomize r,
int pGAMutationID,
int pGPMutationID,
int pNUMOL,
int pIDOL,
double pLOptProb)
Class constructor with the following parameters:
|
Modifier and Type | Method and Description |
---|---|
GeneticIndividual |
evolve(int MAXITER)
this method is intended for evolving the algorithm for a given number of iterations
with an SAP algorithm.
|
public SimulatedAnnealing(GeneticIndividual initialIndividual, double pPROBMUTAGA, double deltaFit, double p0, double p1, double KM, int pNSUB, Randomize r, int pGAMutationID, int pGPMutationID, int pNUMOL, int pIDOL, double pLOptProb)
Class constructor with the following parameters:
initialIndividual
- a GeneticIndividual
to start the search process with the desired type of individualdeltaFit
- a double with the coefficient for the fitness error following the simulate annealing evolution rulespPROBMUTAGA
- a double with the mutation probabilityp0
- the desired initial temperaturep1
- the desired final temperatureKM
- The mean temperature coefficient to allow mutation operationspNSUB
- an int with the number of individuals to be analized in each iterationr
- the Randomize
objectpGAMutationID
- the genetic algorithm mutation operation used attending the the current GenotypepGPMutationID
- the genetic programming mutation operation used attending the the current GenotypepNUMOL
- an int with the number of iterations in the local optimization methodpIDOL
- an int with the local identification method identidicationpLOptProb
- a double with the local optimization method probabilitypublic GeneticIndividual evolve(int MAXITER) throws invalidMutation, invalidOptim
this method is intended for evolving the algorithm for a given number of iterations with an SAP algorithm.
evolve
in class GeneticAlgorithm
MAXITER
- an integer with the number of iterations torun in the evolucionGeneticIndividual
foundinvalidMutation
- in case of unsupported mutation.invalidOptim
- in case of local optimization operations.