MCPcopy Index your code
hub / github.com/SISDevelop/SwarmPackagePy / __init__

Method __init__

SwarmPackagePy/pso.py:11–58  ·  view source on GitHub ↗

:param n: number of agents :param function: test function :param lb: lower limits for plot axes :param ub: upper limits for plot azes :param dimension: space dimension :param iteration: the number of iterations :param w: balance between

(self, n, function, lb, ub, dimension, iteration, w=0.5, c1=1,
                 c2=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_pointsMethod · 0.80
_set_GbestMethod · 0.80

Tested by

no test coverage detected