|
BiCIAM - Framework Metaheurístico 1.0
Framework de optimización con algoritmos metaheurísticos y evolutivos
|
Algoritmo de búsqueda tabú con memoria de soluciones visitadas. Más...
Métodos públicos | |
| GeneratorType | getTypeGenerator () |
| void | setTypeGenerator (GeneratorType typeGenerator) |
| TabuSearch () | |
| 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. | |
| void | setInitialReference (State stateInitialRef) |
| Establece el estado de referencia inicial. | |
| void | setStateRef (State stateRef) |
| void | updateReference (State stateCandidate, Integer countIterationsCurrent) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| Actualiza el estado de referencia con un nuevo candidato. | |
| GeneratorType | getType () |
| Obtiene el tipo de generador. | |
| List< State > | getReferenceList () |
| Obtiene la lista de estados de referencia. | |
| 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 privados | |
| CandidateValue | candidatevalue |
| AcceptType | typeAcceptation |
| StrategyType | strategy |
| CandidateType | typeCandidate |
| State | stateReferenceTS |
| IFFactoryAcceptCandidate | ifacceptCandidate |
| GeneratorType | typeGenerator |
| List< State > | listStateReference = new ArrayList<State>() |
| float | weight |
| int[] | betterCountByPeriod = new int[10] |
| int[] | usageCountByPeriod = 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 de búsqueda tabú con memoria de soluciones visitadas.
Esta clase implementa el algoritmo de búsqueda tabú que mantiene una lista de soluciones tabú (prohibidas) para evitar ciclos y mejorar la exploración.
| metaheuristics.generators.TabuSearch.TabuSearch | ( | ) |
| boolean metaheuristics.generators.TabuSearch.awardUpdateREF | ( | State | stateCandidate | ) |
Verifica si se debe actualizar la referencia.
| stateCandidate | Estado candidato a verificar |
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.TabuSearch.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.
| int[] metaheuristics.generators.TabuSearch.getListCountBetterGender | ( | ) |
Obtiene el historial de mejoras por período.
Reimplementado de metaheuristics.generators.Generator.
| int[] metaheuristics.generators.TabuSearch.getListCountGender | ( | ) |
Obtiene el historial de uso por período.
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.TabuSearch.getReference | ( | ) |
Obtiene el estado de referencia actual.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.TabuSearch.getReferenceList | ( | ) |
Obtiene la lista de estados de referencia.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.TabuSearch.getSonList | ( | ) |
Obtiene la lista de estados hijos generados.
Reimplementado de metaheuristics.generators.Generator.
| float[] metaheuristics.generators.TabuSearch.getTrace | ( | ) |
Obtiene el historial de trazas.
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.TabuSearch.getType | ( | ) |
Obtiene el tipo de generador.
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.TabuSearch.getTypeGenerator | ( | ) |
| float metaheuristics.generators.TabuSearch.getWeight | ( | ) |
Obtiene el peso actual del generador.
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.TabuSearch.setInitialReference | ( | State | stateInitialRef | ) |
Establece el estado de referencia inicial.
| stateInitialRef | Estado de referencia inicial |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.TabuSearch.setStateRef | ( | State | stateRef | ) |
| void metaheuristics.generators.TabuSearch.setTypeCandidate | ( | CandidateType | typeCandidate | ) |
| void metaheuristics.generators.TabuSearch.setTypeGenerator | ( | GeneratorType | typeGenerator | ) |
| void metaheuristics.generators.TabuSearch.setWeight | ( | float | weight | ) |
Establece el peso del generador.
| weight | Nuevo peso del generador |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.TabuSearch.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.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |