You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of a binary on/off switch, each gene has a probability of being used for any given turn.
Create a double member field probability of use that is clamped to the range [0, 1].
At the beginning of a turn, generate a random number threshold in the range [0, 1].
Instead of checking active() for gene methods, check that probability >= threshold before running the method.
This will require rescaling the pawn score for thinking output each move (and quickly). Maybe save the score for each gene after initializing and rescaling for disabled genes on each turn.
The text was updated successfully, but these errors were encountered:
Mutation restriction: -0.5 <= activation_start <= activation_end <= 1.05 (0.05 margins to allow for being on since the first move and on until the last move. If a mutation puts start and end in wrong order, change the non-mutated value to accommodate the restrictions.
Instead of a binary on/off switch, each gene has a probability of being used for any given turn.
double
member fieldprobability
of use that is clamped to the range [0, 1].threshold
in the range [0, 1].active()
for gene methods, check thatprobability >= threshold
before running the method.This will require rescaling the pawn score for thinking output each move (and quickly). Maybe save the score for each gene after initializing and rescaling for disabled genes on each turn.
The text was updated successfully, but these errors were encountered: