Population<TSolution, TCandidate>.Set Candidate Method
Sets a candidate at the specified index.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
protected virtual void SetCandidate(
int index,
TCandidate candidate
)
Parameters
- index Int32
- The index of the candidate.
- candidate TCandidate
- The candidate to set.