|
BiCIAM - Framework Metaheurístico 1.0
Framework de optimización con algoritmos metaheurísticos y evolutivos
|
Algoritmo PSO que simula el comportamiento social de enjambres. Más...
Métodos públicos | |
| ParticleSwarmOptimization () | |
| State | generate (Integer operatornumber) throws IllegalArgumentException, SecurityException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException |
| Genera un nuevo estado candidato. | |
| void | inicialiceLBest () |
| State | getReference () |
| Obtiene el estado de referencia actual. | |
| State | getStateReferencePSO () |
| void | setStateReferencePSO (State stateReferencePSO) |
| List< Particle > | getListStateReference () |
| void | setListStateReference (List< State > listStateReference) |
| List< Particle > | getListParticle () |
| List< Particle > | setListParticle (List< Particle > listParticle) |
| GeneratorType | getGeneratorType () |
| void | setGeneratorType (GeneratorType generatorType) |
| void | updateReference (State stateCandidate, Integer countIterationsCurrent) throws IllegalArgumentException,SecurityException, ClassNotFoundException, InstantiationException,IllegalAccessException, InvocationTargetException,NoSuchMethodException |
| Actualiza el estado de referencia con un nuevo candidato. | |
| State | gBestInicial () |
| void | setInitialReference (State stateInitialRef) |
| Establece el estado de referencia inicial. | |
| 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. | |
| boolean | awardUpdateREF (State stateCandidate) |
| Verifica si se debe actualizar la referencia. | |
| void | setWeight (float weight) |
| Establece el peso del generador. | |
| float | getWeight () |
| Obtiene el peso actual 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. | |
Métodos públicos estáticos | |
| static int | getCountRef () |
| static void | setCountRef (int countRef) |
Atributos públicos estáticos | |
| static int | countRef = 0 |
| static int | countParticle = 0 |
| static int | coutSwarm = 0 |
| static int | countParticleBySwarm = 0 |
| static double | wmax = 0.9 |
| static double | wmin = 0.2 |
| static int | learning1 = 2 |
| static int | learning2 = 2 |
| static double | constriction |
| static boolean | binary = false |
| static State[] | lBest |
| static State | gBest |
| static int | countCurrentIterPSO |
| static int | usageCount = 0 |
| static int | improvementCount = 0 |
Métodos privados | |
| List< Particle > | getListStateRef () |
Atributos privados | |
| State | stateReferencePSO |
| List< State > | listStateReference = new ArrayList<State>() |
| List< Particle > | listParticle = new ArrayList<Particle> () |
| GeneratorType | generatorType |
| float | weight = 50 |
| 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 PSO que simula el comportamiento social de enjambres.
Esta clase implementa el algoritmo PSO que utiliza una población de partículas que se mueven en el espacio de búsqueda influenciadas por su mejor posición personal y la mejor posición global del enjambre.
| metaheuristics.generators.ParticleSwarmOptimization.ParticleSwarmOptimization | ( | ) |
| boolean metaheuristics.generators.ParticleSwarmOptimization.awardUpdateREF | ( | State | stateCandidate | ) |
Verifica si se debe actualizar la referencia.
| stateCandidate | Estado candidato a verificar |
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.ParticleSwarmOptimization.gBestInicial | ( | ) |
| State metaheuristics.generators.ParticleSwarmOptimization.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 |
| GeneratorType metaheuristics.generators.ParticleSwarmOptimization.getGeneratorType | ( | ) |
| int[] metaheuristics.generators.ParticleSwarmOptimization.getListCountBetterGender | ( | ) |
Obtiene el historial de mejoras por período.
Reimplementado de metaheuristics.generators.Generator.
| int[] metaheuristics.generators.ParticleSwarmOptimization.getListCountGender | ( | ) |
Obtiene el historial de uso por período.
Reimplementado de metaheuristics.generators.Generator.
| List< Particle > metaheuristics.generators.ParticleSwarmOptimization.getListParticle | ( | ) |
|
private |
| List< Particle > metaheuristics.generators.ParticleSwarmOptimization.getListStateReference | ( | ) |
| State metaheuristics.generators.ParticleSwarmOptimization.getReference | ( | ) |
Obtiene el estado de referencia actual.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.ParticleSwarmOptimization.getReferenceList | ( | ) |
Obtiene la lista de estados de referencia.
Reimplementado de metaheuristics.generators.Generator.
| List< State > metaheuristics.generators.ParticleSwarmOptimization.getSonList | ( | ) |
Obtiene la lista de estados hijos generados.
Reimplementado de metaheuristics.generators.Generator.
| State metaheuristics.generators.ParticleSwarmOptimization.getStateReferencePSO | ( | ) |
| float[] metaheuristics.generators.ParticleSwarmOptimization.getTrace | ( | ) |
Obtiene el historial de trazas.
Reimplementado de metaheuristics.generators.Generator.
| GeneratorType metaheuristics.generators.ParticleSwarmOptimization.getType | ( | ) |
Obtiene el tipo de generador.
Reimplementado de metaheuristics.generators.Generator.
| float metaheuristics.generators.ParticleSwarmOptimization.getWeight | ( | ) |
Obtiene el peso actual del generador.
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.ParticleSwarmOptimization.inicialiceLBest | ( | ) |
|
static |
| void metaheuristics.generators.ParticleSwarmOptimization.setGeneratorType | ( | GeneratorType | generatorType | ) |
| void metaheuristics.generators.ParticleSwarmOptimization.setInitialReference | ( | State | stateInitialRef | ) |
Establece el estado de referencia inicial.
| stateInitialRef | Estado de referencia inicial |
Reimplementado de metaheuristics.generators.Generator.
| List< Particle > metaheuristics.generators.ParticleSwarmOptimization.setListParticle | ( | List< Particle > | listParticle | ) |
| void metaheuristics.generators.ParticleSwarmOptimization.setListStateReference | ( | List< State > | listStateReference | ) |
| void metaheuristics.generators.ParticleSwarmOptimization.setStateReferencePSO | ( | State | stateReferencePSO | ) |
| void metaheuristics.generators.ParticleSwarmOptimization.setWeight | ( | float | weight | ) |
Establece el peso del generador.
| weight | Nuevo peso del generador |
Reimplementado de metaheuristics.generators.Generator.
| void metaheuristics.generators.ParticleSwarmOptimization.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.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
static |
|
private |
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |
|
private |
|
static |
|
static |