|
BiCIAM - Framework Metaheurístico 1.0
Framework de optimización con algoritmos metaheurísticos y evolutivos
|
Generador híbrido que combina múltiples metaheurísticas. Más...
Métodos públicos | |
| void | setGeneratortype (GeneratorType generatortype) |
| MultiGenerator () | |
| State | generate (Integer operatornumber) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| Genera un nuevo estado candidato. | |
| State | getReference () |
| Obtiene el estado de referencia actual. | |
| List< State > | getReferenceList () |
| Obtiene la lista de estados de referencia. | |
| List< State > | getSonList () |
| Obtiene la lista de estados hijos generados. | |
| GeneratorType | getType () |
| Obtiene el tipo de generador. | |
| void | setInitialReference (State stateInitialRef) |
| Establece el estado de referencia inicial. | |
| void | updateReference (State stateCandidate, Integer countIterationsCurrent) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| Actualiza el estado de referencia con un nuevo candidato. | |
| void | updateWeight (State stateCandidate) |
| boolean | searchState (State stateCandidate) |
| float | getWeight () |
| Obtiene el peso actual del generador. | |
| Generator | roulette () |
| boolean | awardUpdateREF (State stateCandidate) |
| Verifica si se debe actualizar la referencia. | |
| void | updateAwardSC () |
| void | updateAwardImp () |
| void | setWeight (float weight) |
| Establece el peso del generador. | |
| float[] | getTrace () |
| Obtiene el historial de trazas. | |
| void | tournament (State stateCandidate, Integer countIterationsCurrent) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| MultiGenerator | copy () |
| int[] | getListCountBetterGender () |
| Obtiene el historial de mejoras por período. | |
| int[] | getListCountGender () |
| Obtiene el historial de uso por período. | |
Métodos públicos estáticos | |
| static void | destroyMultiGenerator () |
| static void | initializeListGenerator () throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| static void | initializeGenerators () throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| static void | createInstanceGeneratorsBPP () |
| static Generator[] | getListGenerators () |
| static void | setListGenerators (Generator[] listGenerators) |
| static Generator | getActiveGenerator () |
| static void | setActiveGenerator (Generator activeGenerator) |
| static void | setListGeneratedPP (List< State > listGeneratedPP) |
Atributos públicos estáticos | |
| static List< State > | listGeneratedPP = new ArrayList<State> () |
| static Generator | activeGenerator |
| static List< State > | listStateReference = new ArrayList<State>() |
Métodos privados estáticos | |
| static ArrayList< State > | getListGeneratedPP () |
Atributos privados | |
| GeneratorType | Generatortype |
Atributos estáticos privados | |
| static Generator[] | listGenerators = new Generator[GeneratorType.values().length] |
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. | |
Generador híbrido que combina múltiples metaheurísticas.
Esta clase implementa un selector de generadores que utiliza un método de ruleta basado en pesos adaptativos para seleccionar dinámicamente qué metaheurística aplicar en cada iteración, basado en su rendimiento previo.
| metaheuristics.generators.MultiGenerator.MultiGenerator | ( | ) |
| boolean metaheuristics.generators.MultiGenerator.awardUpdateREF | ( | State | stateCandidate | ) |
Verifica si se debe actualizar la referencia.
| stateCandidate | Estado candidato a verificar |
Reimplementado de metaheuristics.generators.Generator.
| MultiGenerator metaheuristics.generators.MultiGenerator.copy | ( | ) |
|
static |
|
static |
| State metaheuristics.generators.MultiGenerator.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.
|
static |
| int[] metaheuristics.generators.MultiGenerator.getListCountBetterGender | ( | ) |
Obtiene el historial de mejoras por período.
Reimplementado de metaheuristics.generators.Generator.
| int[] metaheuristics.generators.MultiGenerator.getListCountGender | ( | ) |
Obtiene el historial de uso por período.
Reimplementado de metaheuristics.generators.Generator.
|
staticprivate |
|
static |
| State metaheuristics.generators.MultiGenerator.getReference | ( | ) |
Obtiene el estado de referencia actual.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.MultiGenerator.getReferenceList | ( | ) |
Obtiene la lista de estados de referencia.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.MultiGenerator.getSonList | ( | ) |
Obtiene la lista de estados hijos generados.
Reimplementado de metaheuristics.generators.Generator.
| float[] metaheuristics.generators.MultiGenerator.getTrace | ( | ) |
Obtiene el historial de trazas.
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.MultiGenerator.getType | ( | ) |
Obtiene el tipo de generador.
Reimplementado de metaheuristics.generators.Generator.
| float metaheuristics.generators.MultiGenerator.getWeight | ( | ) |
Obtiene el peso actual del generador.
Reimplementado de metaheuristics.generators.Generator.
|
static |
|
static |
| Generator metaheuristics.generators.MultiGenerator.roulette | ( | ) |
| boolean metaheuristics.generators.MultiGenerator.searchState | ( | State | stateCandidate | ) |
|
static |
| void metaheuristics.generators.MultiGenerator.setGeneratortype | ( | GeneratorType | generatortype | ) |
| void metaheuristics.generators.MultiGenerator.setInitialReference | ( | State | stateInitialRef | ) |
Establece el estado de referencia inicial.
| stateInitialRef | Estado de referencia inicial |
Reimplementado de metaheuristics.generators.Generator.
|
static |
|
static |
| void metaheuristics.generators.MultiGenerator.setWeight | ( | float | weight | ) |
Establece el peso del generador.
| weight | Nuevo peso del generador |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.MultiGenerator.tournament | ( | State | stateCandidate, |
| Integer | countIterationsCurrent ) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| void metaheuristics.generators.MultiGenerator.updateAwardImp | ( | ) |
| void metaheuristics.generators.MultiGenerator.updateAwardSC | ( | ) |
| void metaheuristics.generators.MultiGenerator.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.
| void metaheuristics.generators.MultiGenerator.updateWeight | ( | State | stateCandidate | ) |
|
static |
|
private |
|
static |
|
staticprivate |
|
static |