MCPcopy Create free account
hub / github.com/SISDevelop/SwarmPackagePy / __init__

Method __init__

SwarmPackagePy/fa.py:12–65  ·  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 axes :param dimension: space dimension :param iteration: number of iterations :param csi: mutual attraction

(self, n, function, lb, ub, dimension, iteration, csi=1, psi=1,
                 alpha0=1, alpha1=0.1, norm0=0, norm1=0.1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

__moveMethod · 0.95
_pointsMethod · 0.80
_set_GbestMethod · 0.80

Tested by

no test coverage detected