Mutates an information value using the specified random number generator.
Namespace: Extreme.Mathematics.Optimization.GeneticAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public abstract T Mutate(
T value,
Random rng
)
Public MustOverride Function Mutate (
value As T,
rng As Random
) As T
public:
virtual T Mutate(
T value,
Random^ rng
) abstract
abstract Mutate :
value : 'T *
rng : Random -> 'T
Parameters
- value
- Type: T
The value to mutate. - rng
- Type: SystemRandom
The random number generator to use.
Return Value
Type:
TThe mutated value.
Numerical Libraries
Supported in: 6.0
Reference