|
BiCIAM - Framework Metaheurístico 1.0
Framework de optimización con algoritmos metaheurísticos y evolutivos
|
Hill Climbing multiobjetivo que selecciona soluciones basadas en distancia. Más...
Métodos públicos | |
| MultiobjectiveHillClimbingDistance () | |
| Constructor por defecto. | |
| 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 la referencia con el candidato evaluado. | |
| List< State > | getReferenceList () |
| Obtiene la lista de referencias. | |
| State | getReference () |
| Obtiene el estado de referencia actual. | |
| void | setStateRef (State stateRef) |
| Establece el estado de referencia. | |
| void | setInitialReference (State stateInitialRef) |
| Establece la referencia inicial. | |
| GeneratorType | getGeneratorType () |
| Obtiene el tipo de generador. | |
| void | setGeneratorType (GeneratorType Generatortype) |
| Establece el tipo de generador. | |
| GeneratorType | getType () |
| Obtiene el tipo de generador. | |
| List< State > | getSonList () |
| Obtiene lista de hijos. | |
| boolean | awardUpdateREF (State stateCandidate) |
| Actualiza referencia con premio. | |
| float | getWeight () |
| Obtiene el peso del generador. | |
| void | setWeight (float weight) |
| Establece el peso del generador. | |
| int[] | getListCountBetterGender () |
| Obtiene lista de contadores de mejores géneros. | |
| int[] | getListCountGender () |
| Obtiene lista de contadores de géneros. | |
| float[] | getTrace () |
| Obtiene la traza de pesos. | |
Métodos públicos estáticos | |
| static List< Double > | DistanceCalculateAdd (List< State > solution) |
| Calcula y actualiza las distancias al añadir una nueva solución. | |
Atributos públicos estáticos | |
| static int | sizeNeighbors |
| Tamaño del vecindario. | |
| static List< Double > | distanceSolution = new ArrayList<Double>() |
| Lista que contiene las distancias de cada solución del frente de Pareto estimado. | |
Atributos protegidos | |
| CandidateValue | candidatevalue |
| Valor del candidato para selección. | |
| AcceptType | typeAcceptation |
| Tipo de aceptación de candidatos. | |
| StrategyType | strategy |
| Estrategia de búsqueda. | |
| CandidateType | typeCandidate |
| Tipo de candidato. | |
| State | stateReferenceHC |
| Estado de referencia actual del algoritmo. | |
| IFFactoryAcceptCandidate | ifacceptCandidate |
| Fábrica para crear criterios de aceptación. | |
| GeneratorType | Generatortype |
| Tipo de generador. | |
| List< State > | listStateReference = new ArrayList<State>() |
| Lista de estados de referencia. | |
| float | weight |
| Peso del generador. | |
| List< Float > | listTrace = new ArrayList<Float>() |
| Traza de pesos. | |
Métodos privados | |
| State | SolutionMoreDistance (List< State > state, List< Double > distanceSolution) |
| Encuentra la solución más alejada del frente de Pareto. | |
| boolean | Contain (State state) |
| Verifica si un estado ya fue visitado. | |
Atributos privados | |
| List< State > | visitedState = new ArrayList<State>() |
| Lista de estados visitados. | |
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. | |
Hill Climbing multiobjetivo que selecciona soluciones basadas en distancia.
Esta clase implementa un algoritmo de búsqueda local multiobjetivo que mantiene un frente de Pareto y selecciona la solución más alejada para explorar diversidad.
| metaheuristics.generators.MultiobjectiveHillClimbingDistance.MultiobjectiveHillClimbingDistance | ( | ) |
Constructor por defecto.
Inicializa el Hill Climbing multiobjetivo con criterio de aceptación no dominado y selección basada en distancia.
| boolean metaheuristics.generators.MultiobjectiveHillClimbingDistance.awardUpdateREF | ( | State | stateCandidate | ) |
Actualiza referencia con premio.
| stateCandidate | Estado candidato |
Reimplementado de metaheuristics.generators.Generator.
|
private |
Verifica si un estado ya fue visitado.
| state | Estado a verificar |
|
static |
Calcula y actualiza las distancias al añadir una nueva solución.
| solution | Lista de soluciones del frente de Pareto |
| State metaheuristics.generators.MultiobjectiveHillClimbingDistance.generate | ( | Integer | operatornumber | ) | throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
Genera un nuevo estado candidato.
| operatornumber | Número de operador para generar el vecindario |
| IllegalArgumentException | Si el argumento es ilégal |
| SecurityException | Si hay un problema de seguridad |
| ClassNotFoundException | Si no se encuentra la clase |
| InstantiationException | Si falla la instanciación |
| IllegalAccessException | Si el acceso es ilegal |
| InvocationTargetException | Si falla la invocación |
| NoSuchMethodException | Si no se encuentra el método |
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.MultiobjectiveHillClimbingDistance.getGeneratorType | ( | ) |
Obtiene el tipo de generador.
| int[] metaheuristics.generators.MultiobjectiveHillClimbingDistance.getListCountBetterGender | ( | ) |
Obtiene lista de contadores de mejores géneros.
Reimplementado de metaheuristics.generators.Generator.
| int[] metaheuristics.generators.MultiobjectiveHillClimbingDistance.getListCountGender | ( | ) |
Obtiene lista de contadores de géneros.
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.MultiobjectiveHillClimbingDistance.getReference | ( | ) |
Obtiene el estado de referencia actual.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.MultiobjectiveHillClimbingDistance.getReferenceList | ( | ) |
Obtiene la lista de referencias.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.MultiobjectiveHillClimbingDistance.getSonList | ( | ) |
Obtiene lista de hijos.
Reimplementado de metaheuristics.generators.Generator.
| float[] metaheuristics.generators.MultiobjectiveHillClimbingDistance.getTrace | ( | ) |
Obtiene la traza de pesos.
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.MultiobjectiveHillClimbingDistance.getType | ( | ) |
Obtiene el tipo de generador.
Reimplementado de metaheuristics.generators.Generator.
| float metaheuristics.generators.MultiobjectiveHillClimbingDistance.getWeight | ( | ) |
Obtiene el peso del generador.
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.MultiobjectiveHillClimbingDistance.setGeneratorType | ( | GeneratorType | Generatortype | ) |
Establece el tipo de generador.
| Generatortype | Nuevo tipo de generador |
| void metaheuristics.generators.MultiobjectiveHillClimbingDistance.setInitialReference | ( | State | stateInitialRef | ) |
Establece la referencia inicial.
| stateInitialRef | Estado inicial de referencia |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.MultiobjectiveHillClimbingDistance.setStateRef | ( | State | stateRef | ) |
Establece el estado de referencia.
| stateRef | Nuevo estado de referencia |
| void metaheuristics.generators.MultiobjectiveHillClimbingDistance.setWeight | ( | float | weight | ) |
Establece el peso del generador.
| weight | Nuevo peso |
Reimplementado de metaheuristics.generators.Generator.
|
private |
Encuentra la solución más alejada del frente de Pareto.
| state | Lista de estados del frente de Pareto |
| distanceSolution | Lista de distancias correspondientes |
| void metaheuristics.generators.MultiobjectiveHillClimbingDistance.updateReference | ( | State | stateCandidate, |
| Integer | countIterationsCurrent ) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
Actualiza la referencia con el candidato evaluado.
Actualiza el frente de Pareto y selecciona la solución más alejada para explorar diversidad en el espacio de búsqueda.
| stateCandidate | Estado candidato a evaluar |
| countIterationsCurrent | Contador de iteraciones actuales |
| IllegalArgumentException | Si el argumento es ilégal |
| SecurityException | Si hay un problema de seguridad |
| ClassNotFoundException | Si no se encuentra la clase |
| InstantiationException | Si falla la instanciación |
| IllegalAccessException | Si el acceso es ilegal |
| InvocationTargetException | Si falla la invocación |
| NoSuchMethodException | Si no se encuentra el método |
Reimplementado de metaheuristics.generators.Generator.
|
protected |
Valor del candidato para selección.
|
static |
Lista que contiene las distancias de cada solución del frente de Pareto estimado.
|
protected |
Tipo de generador.
|
protected |
Fábrica para crear criterios de aceptación.
|
protected |
Lista de estados de referencia.
|
protected |
Traza de pesos.
|
static |
Tamaño del vecindario.
|
protected |
Estado de referencia actual del algoritmo.
|
protected |
Estrategia de búsqueda.
|
protected |
Tipo de aceptación de candidatos.
|
protected |
Tipo de candidato.
|
private |
Lista de estados visitados.
|
protected |
Peso del generador.