abm.pso: abm.pso

Description Usage Arguments References Examples

View source: R/abm-pso.R

Description

An implementaion of Particle Swarm Optimization method for parameter estimation of Individual-based models.

Usage

1
abm.pso(objective, options = NULL)

Arguments

objective

An instance of ObjectiveFunction (or subclass) class ObjectiveFunction

options

An apropiate instance from a sublclass of Options class

References

[1] Kennedy, J., & Eberhart, R. (1995). Particle swarm optimization. In Proceedings of ICNN 95 - International Conference on Neural Networks (Vol. 4, pp. 1942-1948). IEEE.

[2] Poli, R., Kennedy, J., & Blackwell, T. (2007). Particle swarm optimization. Swarm Intelligence, 1(1), 33-57.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
 f<- PlainFunction$new(f0.rosenbrock2)

 f$Parameter(name="x1",min=-100,max=100)
 f$Parameter(name="x2",min=-100,max=100)

 extremize("pso", f)

## End(Not run)

antonio-pgarcia/evoper documentation built on Aug. 30, 2020, 10:40 p.m.