jeco.kernel.algorithm.mopso
Class HNSPSO
java.lang.Object
jeco.kernel.algorithm.Algorithm
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
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)
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)