Particle Swarm Methods
Methods
Add | Adds an item to the ICollection<T>. (Inherited from Population<TSolution, TCandidate>) |
Clear | Removes all items from the ICollection<T>. (Inherited from Population<TSolution, TCandidate>) |
Compute |
Computes a population-wide statistic, for example the coefficient of variation of the candidate values.
(Inherited from Population<TSolution, TCandidate>) |
Contains | Determines whether the ICollection<T> contains a specific value. (Inherited from Population<TSolution, TCandidate>) |
Copy | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from Population<TSolution, TCandidate>) |
Diversity |
Computes the diversity of the population.
(Inherited from Population<TCandidate>) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get |
Gets a candidate particle at the specified index.
(Overrides Population<TSolution, TCandidate>.GetCandidate(Int32)) |
Get | Returns an enumerator that iterates through the collection. (Inherited from Population<TSolution, TCandidate>) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Index | Determines the index of a specific item in the IList<T>. (Inherited from Population<TSolution, TCandidate>) |
Initialize |
Initializes the population with the specified parameters.
(Inherited from Population<TCandidate>) |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from Population<TSolution, TCandidate>) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Migrate |
Performs a migration operation, moving candidates between subpopulations.
This is intended for large-scale adjustments (e.g., in multi-swarm or island models).
(Inherited from Population<TSolution, TCandidate>) |
Refresh |
Refreshes the local structure of the population (for example, updating neighborhood relationships).
The exact behavior is algorithm-specific.
(Inherited from Population<TSolution, TCandidate>) |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from Population<TSolution, TCandidate>) |
Remove | Removes the IList<T> item at the specified index. (Inherited from Population<TSolution, TCandidate>) |
Set |
Sets a candidate at the specified index.
(Inherited from Population<TSolution, TCandidate>) |
ToString | Returns a string that represents the current object. (Inherited from Object) |