Class MOPSOModule

    • Field Detail

      • particles

        protected int particles
      • archiveSize

        protected int archiveSize
      • iterations

        protected int iterations
      • perturbation

        protected double perturbation
    • Constructor Detail

      • MOPSOModule

        public MOPSOModule()
    • Method Detail

      • getPerturbation

        public double getPerturbation()
        Returns the perturbation.
        Returns:
        the perturbation
        See Also:
        setPerturbation(double)
      • setPerturbation

        public void setPerturbation​(double perturbation)
        Sets the perturbation.
        Parameters:
        perturbation - the perturbation to set
        See Also:
        getPerturbation()
      • getIterations

        public int getIterations()
        Returns the number of iterations.
        Returns:
        the iterations
        See Also:
        setIterations(int)
      • setIterations

        public void setIterations​(int iterations)
        Sets the the number of iterations.
        Parameters:
        iterations - the iterations to set
        See Also:
        getIterations()
      • getParticles

        public int getParticles()
        Returns the number of particles.
        Returns:
        the particles
        See Also:
        setParticles(int)
      • setParticles

        public void setParticles​(int particles)
        Sets the number of particles.
        Parameters:
        particles - the particles to set
        See Also:
        getParticles()
      • getArchiveSize

        public int getArchiveSize()
        Returns the leader archive size.
        Returns:
        the archiveSize
        See Also:
        setArchiveSize(int)
      • setArchiveSize

        public void setArchiveSize​(int archiveSize)
        Sets the leader archive size.
        Parameters:
        archiveSize - the archiveSize to set
        See Also:
        getArchiveSize()
      • config

        protected void config()
        Description copied from class: Opt4JModule
        Configure the module. Bind constants, listeners, and bind arbitrary classes.
        Specified by:
        config in class Opt4JModule
        See Also:
        Binder