# {py:mod}`evox.algorithms.so.pso_variants.dms_pso_el` ```{py:module} evox.algorithms.so.pso_variants.dms_pso_el ``` ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`DMSPSOEL ` - ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL :summary: ``` ```` ### API `````{py:class} DMSPSOEL(lb: torch.Tensor, ub: torch.Tensor, dynamic_sub_swarm_size: int = 10, dynamic_sub_swarms_num: int = 5, following_sub_swarm_size: int = 10, regrouped_iteration_num: int = 50, max_iteration: int = 100, inertia_weight: float = 0.7, pbest_coefficient: float = 1.5, lbest_coefficient: float = 1.5, rbest_coefficient: float = 1.0, gbest_coefficient: float = 1.0, device: torch.device | None = None) :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL Bases: {py:obj}`evox.core.Algorithm` ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL.__init__ ``` ````{py:method} init_step() :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL.init_step ```` ````{py:method} step() :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL.step ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL.step ``` ```` ````{py:method} _update_strategy_1() :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._update_strategy_1 ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._update_strategy_1 ``` ```` ````{py:method} _cond_regroup(fit: torch.Tensor) :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._cond_regroup ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._cond_regroup ``` ```` ````{py:method} _regroup(fit: torch.Tensor) :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._regroup ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._regroup ``` ```` ````{py:method} _update_strategy_2() :canonical: evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._update_strategy_2 ```{autodoc2-docstring} evox.algorithms.so.pso_variants.dms_pso_el.DMSPSOEL._update_strategy_2 ``` ```` `````