pub struct ParticleSwarm<P, F> { /* private fields */ }
Expand description

Particle Swarm Optimization (PSO)

References:

TODO

Implementations

Constructor

Parameters:

  • search_region: size of search region
  • num_particles: number of particles
  • weight_momentum: momentum weight for particle update
  • weight_particle: particle weight for particle update
  • weight_swarm: swarm weight for particle update

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Perform one iteration of algorithm

Name of the solver

Initializes the algorithm Read more

Checks whether basic termination reasons apply. Read more

Checks whether the algorithm must be terminated

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.