Population<TSolution, TCandidate> Methods
Methods
| Add | Adds an item to the ICollection<T>. |
| Clear | Removes all items from the ICollection<T>. |
| Compute | Computes a population-wide statistic, for example the coefficient of variation of the candidate values. |
| Contains | Determines whether the ICollection<T> contains a specific value. |
| Copy | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. |
| Diversity | Computes the diversity of the population. |
| 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 at the specified index. |
| Get | Returns an enumerator that iterates through the collection. |
| 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>. |
| Insert | Inserts an item to the IList<T> at the specified index. |
| 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). |
| Refresh | Refreshes the local structure of the population (for example, updating neighborhood relationships). The exact behavior is algorithm-specific. |
| Remove | Removes the first occurrence of a specific object from the ICollection<T>. |
| Remove | Removes the IList<T> item at the specified index. |
| Set | Sets a candidate at the specified index. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
| Group<TCandidate> |
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping) |
| Group<TCandidate> |
Returns a grouping by the unique elements in a list.
(Defined by Grouping) |
| Group<TCandidate> |
Returns a grouping by the unique elements in a sequence
using the specified comparer to determine equality.
(Defined by Grouping) |
| Group<TCandidate> |
Returns a grouping by the unique elements in a list
using the specified comparer to determine equality.
(Defined by Grouping) |
| Standard |
Returns the standard deviation of the elements of a sequence.
(Defined by Stats) |
| Sum<TCandidate> |
Computes the sum of the sequence of values.
(Defined by ArrayMath) |
| Sum<TCandidate, U> |
Computes the sum of the sequence of values that are obtained
by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath) |
| Sum<TCandidate, T2, U> |
Computes the sum of the sequence of values that are obtained
by invoking a transform function on each pair of elements of
the input sequences.
(Defined by ArrayMath) |