MCPcopy Create free account
hub / github.com/Chrispresso/SnakeAI / simulated_binary_crossover

Function simulated_binary_crossover

genetic_algorithm/crossover.py:4–26  ·  view source on GitHub ↗

This crossover is specific to floating-point representation. Simulate behavior of one-point crossover for binary representations. For large values of eta there is a higher probability that offspring will be created near the parents. For small values of eta, offspring will be m

(parent1: np.ndarray, parent2: np.ndarray, eta: float)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected