pub fn train_move_swim(
    entity_geno_info_q: Query<'_, '_, (Entity, (&BlobGeno, &BlobInfo))>,
    nn_q: Query<'_, '_, (&Parent, &NeuronId)>,
    bbn: ResMut<'_, BevyBlockNeurons>,
    pipe: ResMut<'_, TrainMutPipe>,
    input: Res<'_, Input<KeyCode>>,
    frames: Res<'_, Frames>
)
Expand description

main training function for blob’s swim moving.

When current iteration ends, the function will be called.

Preform tournament selection base on moving distance and crowding distance

POPULATION == 1 in will make thread panic since it never trains