Catalano.Evolutionary.Metaheuristics.Monoobjective
Class SalpSwarmAlgorithm
- java.lang.Object
-
- Catalano.Evolutionary.Metaheuristics.Monoobjective.BaseEvolutionaryOptimization
-
- Catalano.Evolutionary.Metaheuristics.Monoobjective.SalpSwarmAlgorithm
-
public class SalpSwarmAlgorithm extends BaseEvolutionaryOptimization
Salp Swarm Algorithm (SSA). The main inspiration of SSA is the swarming behaviour of salps when navigating and foraging in oceans. References: S. Mirjalili, A.H. Gandomi, S.Z. Mirjalili, S. Saremi, H. Faris, S.M. Mirjalili. "Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems." Advances in Engineering Software 114 (2017): 163-191.
-
-
Constructor Summary
Constructors Constructor and Description SalpSwarmAlgorithm()Initializes a new instance of the SalpSwarmAlgorithm class.SalpSwarmAlgorithm(int population, int generations)Initializes a new instance of the SalpSwarmAlgorithm class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidCompute(IObjectiveFunction function, java.util.List<DoubleRange> boundConstraints)Compute the algorithm.-
Methods inherited from class Catalano.Evolutionary.Metaheuristics.Monoobjective.BaseEvolutionaryOptimization
getBest, getError, getGenerations, getNumberOfEvaluations, getPopulationSize, getTolerance, setGenerations, setOnIteratorListener, setPopulationSize, setTolerance
-
-
-
-
Constructor Detail
-
SalpSwarmAlgorithm
public SalpSwarmAlgorithm()
Initializes a new instance of the SalpSwarmAlgorithm class.
-
SalpSwarmAlgorithm
public SalpSwarmAlgorithm(int population, int generations)Initializes a new instance of the SalpSwarmAlgorithm class.- Parameters:
population- Population size.generations- Generations.
-
-
Method Detail
-
Compute
public void Compute(IObjectiveFunction function, java.util.List<DoubleRange> boundConstraints)
Description copied from class:BaseEvolutionaryOptimizationCompute the algorithm.- Specified by:
Computein classBaseEvolutionaryOptimization- Parameters:
function- Function.boundConstraints- Bounds constraints.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG