|
BiCIAM - Framework Metaheurístico 1.0
Framework de optimización con algoritmos metaheurísticos y evolutivos
|
Algoritmo Hill Climbing con reinicio periódico. Más...
Métodos públicos | |
| HillClimbingRestart () | |
| State | generate (Integer operatornumber) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| Genera un nuevo estado candidato. | |
| void | updateReference (State stateCandidate, Integer countIterationsCurrent) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| Actualiza el estado de referencia con un nuevo candidato. | |
| List< State > | getReferenceList () |
| Obtiene la lista de estados de referencia. | |
| State | getReference () |
| Obtiene el estado de referencia actual. | |
| void | setStateRef (State stateRef) |
| void | setInitialReference (State stateInitialRef) |
| Establece el estado de referencia inicial. | |
| GeneratorType | getGeneratorType () |
| void | setGeneratorType (GeneratorType Generatortype) |
| GeneratorType | getType () |
| Obtiene el tipo de generador. | |
| List< State > | getSonList () |
| Obtiene la lista de estados hijos generados. | |
| void | setTypeCandidate (CandidateType typeCandidate) |
| boolean | awardUpdateREF (State stateCandidate) |
| Verifica si se debe actualizar la referencia. | |
| float | getWeight () |
| Obtiene el peso actual del generador. | |
| void | setWeight (float weight) |
| Establece el peso del generador. | |
| int[] | getListCountBetterGender () |
| Obtiene el historial de mejoras por período. | |
| int[] | getListCountGender () |
| Obtiene el historial de uso por período. | |
| float[] | getTrace () |
| Obtiene el historial de trazas. | |
Atributos públicos estáticos | |
| static int | count |
| static int | countCurrent |
| static int | usageCount = 0 |
| static int | improvementCount = 0 |
Atributos protegidos | |
| CandidateValue | candidatevalue |
| AcceptType | typeAcceptation |
| StrategyType | strategy |
| CandidateType | typeCandidate |
| State | stateReferenceHC |
| IFFactoryAcceptCandidate | ifacceptCandidate |
| GeneratorType | Generatortype |
| List< State > | listStateReference = new ArrayList<State>() |
| float | weight |
Atributos privados | |
| List< State > | listRef = new ArrayList<State>() |
| int[] | improvementCountHistory = new int[10] |
| int[] | usageCountHistory = new int[10] |
| float[] | listTrace = new float[1200000] |
Otros miembros heredados | |
| Atributos públicos heredados de metaheuristics.generators.Generator | |
| int | countGender |
| Contador de uso del generador. | |
| int | countBetterGender |
| Contador de mejoras del generador. | |
| int[] | listCountBetterGender |
| Array con las mejoras de cada generador en períodos de 10, acumulativo. | |
Algoritmo Hill Climbing con reinicio periódico.
Esta clase implementa Hill Climbing que reinicia la búsqueda desde una solución aleatoria después de un número determinado de iteraciones.
| metaheuristics.generators.HillClimbingRestart.HillClimbingRestart | ( | ) |
| boolean metaheuristics.generators.HillClimbingRestart.awardUpdateREF | ( | State | stateCandidate | ) |
Verifica si se debe actualizar la referencia.
| stateCandidate | Estado candidato a verificar |
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.HillClimbingRestart.generate | ( | Integer | operatornumber | ) | throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
Genera un nuevo estado candidato.
| operatornumber | Número de operador a utilizar |
| IllegalArgumentException | Si los argumentos son inválidos |
| SecurityException | Si hay problemas de seguridad |
| ClassNotFoundException | Si no se encuentra una clase |
| InstantiationException | Si hay error en la instanciación |
| IllegalAccessException | Si hay acceso ilegal |
| InvocationTargetException | Si hay error en la invocación |
| NoSuchMethodException | Si no se encuentra un método |
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.HillClimbingRestart.getGeneratorType | ( | ) |
| int[] metaheuristics.generators.HillClimbingRestart.getListCountBetterGender | ( | ) |
Obtiene el historial de mejoras por período.
Reimplementado de metaheuristics.generators.Generator.
| int[] metaheuristics.generators.HillClimbingRestart.getListCountGender | ( | ) |
Obtiene el historial de uso por período.
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.HillClimbingRestart.getReference | ( | ) |
Obtiene el estado de referencia actual.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.HillClimbingRestart.getReferenceList | ( | ) |
Obtiene la lista de estados de referencia.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.HillClimbingRestart.getSonList | ( | ) |
Obtiene la lista de estados hijos generados.
Reimplementado de metaheuristics.generators.Generator.
| float[] metaheuristics.generators.HillClimbingRestart.getTrace | ( | ) |
Obtiene el historial de trazas.
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.HillClimbingRestart.getType | ( | ) |
Obtiene el tipo de generador.
Reimplementado de metaheuristics.generators.Generator.
| float metaheuristics.generators.HillClimbingRestart.getWeight | ( | ) |
Obtiene el peso actual del generador.
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.HillClimbingRestart.setGeneratorType | ( | GeneratorType | Generatortype | ) |
| void metaheuristics.generators.HillClimbingRestart.setInitialReference | ( | State | stateInitialRef | ) |
Establece el estado de referencia inicial.
| stateInitialRef | Estado de referencia inicial |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.HillClimbingRestart.setStateRef | ( | State | stateRef | ) |
| void metaheuristics.generators.HillClimbingRestart.setTypeCandidate | ( | CandidateType | typeCandidate | ) |
| void metaheuristics.generators.HillClimbingRestart.setWeight | ( | float | weight | ) |
Establece el peso del generador.
| weight | Nuevo peso del generador |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.HillClimbingRestart.updateReference | ( | State | stateCandidate, |
| Integer | countIterationsCurrent ) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
Actualiza el estado de referencia con un nuevo candidato.
| stateCandidate | Estado candidato a considerar |
| countIterationsCurrent | Iteración actual del algoritmo |
| IllegalArgumentException | Si los argumentos son inválidos |
| SecurityException | Si hay problemas de seguridad |
| ClassNotFoundException | Si no se encuentra una clase |
| InstantiationException | Si hay error en la instanciación |
| IllegalAccessException | Si hay acceso ilegal |
| InvocationTargetException | Si hay error en la invocación |
| NoSuchMethodException | Si no se encuentra un método |
Reimplementado de metaheuristics.generators.Generator.
|
protected |
|
static |
|
static |
|
protected |
|
protected |
|
static |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
private |
|
protected |