jeco.kernel.algorithm.mopso
Class HNSPSO

java.lang.Object
  extended by jeco.kernel.algorithm.Algorithm
      extended by jeco.kernel.algorithm.mopso.HNSPSO

public class HNSPSO
extends Algorithm

Input parameters: - C10: HNSPSO C1(0) factor - C1T: HNSPSO C1(T) factor - C20: HNSPSO C2(0) factor - C2T: HNSPSO C2(T) factor - CHI: PSO chi factor - NUM_PARTICLES - T: maxIterations - TOP_PART_PERCENTAGE: 0.05 usually - W0: HNSPSO W(0) factor - WT: HNSPSO W(T) factor

Author:
José L. Risco-Martín

Field Summary
static double DEFAULT_C10
           
static double DEFAULT_C1T
           
static double DEFAULT_C20
           
static double DEFAULT_C2T
           
static double DEFAULT_CHI
           
static int DEFAULT_NUM_PARTICLES
           
static int DEFAULT_T
           
static double DEFAULT_W0
           
static double DEFAULT_WT
           
 
Fields inherited from class jeco.kernel.algorithm.Algorithm
name, problem
 
Constructor Summary
HNSPSO(Problem problem)
           
HNSPSO(Problem problem, int swarmSize, int maxT)
           
HNSPSO(Problem problem, int swarmSize, int maxT, double w0, double wT, double c10, double c1T, double c20, double c2T)
           
HNSPSO(Problem problem, int swarmSize, int maxT, double w0, double wT, double c10, double c1T, double c20, double c2T, double chi)
           
 
Method Summary
 Solutions execute()
           
 void initialize()
           
 void reduceLeaders(int maxSize)
           
 void setMaxT(int maxT)
           
 void setSwarmSize(int swarmSize)
           
 void step()
           
 
Methods inherited from class jeco.kernel.algorithm.Algorithm
getName, getProblem, setLevel, setProblem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NUM_PARTICLES

public static final int DEFAULT_NUM_PARTICLES
See Also:
Constant Field Values

DEFAULT_T

public static final int DEFAULT_T
See Also:
Constant Field Values

DEFAULT_W0

public static final double DEFAULT_W0
See Also:
Constant Field Values

DEFAULT_WT

public static final double DEFAULT_WT
See Also:
Constant Field Values

DEFAULT_C10

public static final double DEFAULT_C10
See Also:
Constant Field Values

DEFAULT_C1T

public static final double DEFAULT_C1T
See Also:
Constant Field Values

DEFAULT_C20

public static final double DEFAULT_C20
See Also:
Constant Field Values

DEFAULT_C2T

public static final double DEFAULT_C2T
See Also:
Constant Field Values

DEFAULT_CHI

public static final double DEFAULT_CHI
See Also:
Constant Field Values
Constructor Detail

HNSPSO

public HNSPSO(Problem problem,
              int swarmSize,
              int maxT,
              double w0,
              double wT,
              double c10,
              double c1T,
              double c20,
              double c2T,
              double chi)

HNSPSO

public HNSPSO(Problem problem,
              int swarmSize,
              int maxT,
              double w0,
              double wT,
              double c10,
              double c1T,
              double c20,
              double c2T)

HNSPSO

public HNSPSO(Problem problem,
              int swarmSize,
              int maxT)

HNSPSO

public HNSPSO(Problem problem)
Method Detail

initialize

public void initialize()
Specified by:
initialize in class Algorithm

execute

public Solutions execute()
Specified by:
execute in class Algorithm

step

public void step()
Specified by:
step in class Algorithm

reduceLeaders

public void reduceLeaders(int maxSize)

setMaxT

public void setMaxT(int maxT)

setSwarmSize

public void setSwarmSize(int swarmSize)