Skip to content

feat(crossover): implement legacy MOSES crossover operators#459

Open
Yadelew-zemene wants to merge 7 commits into
iCog-Labs-Dev:devfrom
Yadelew-zemene:feature/crossover-operators
Open

feat(crossover): implement legacy MOSES crossover operators#459
Yadelew-zemene wants to merge 7 commits into
iCog-Labs-Dev:devfrom
Yadelew-zemene:feature/crossover-operators

Conversation

@Yadelew-zemene

@Yadelew-zemene Yadelew-zemene commented Jun 5, 2026

Copy link
Copy Markdown

Description

This PR introduces multi-parent crossover capability from legacy MOSES into the MeTTa-based crossover system.
It restores and adapts crossTopTwo and crossTopThree to work with the current architecture, enabling stable multi-parent recombination in hill-climbing optimization.

Main Motivation

  • Improve diversity and exploration in hill-climbing search

What this enables :

      -    Supports 2-parent and 3-parent crossover in the current system
      -    Restores missing legacy MOSES exploration behavior
      -    Improves search diversity during hill-climbing optimizations

Changes

     -      Built crossTopTwo (pairwise crossover)
     -      Built crossTopThree (triple crossover)
     -      Added helper utilities for instance handling and merging
     -      Integrated operators into existing crossover pipeline

Testing

     -     Unit tests for crossTopTwo, crossTopThree, and helpers
     -     Structural validation of crossover flow 
     -     End-to-end pipeline test on sample demes

@Yadelew-zemene Yadelew-zemene changed the base branch from main to dev June 5, 2026 15:28
@Yadelew-zemene Yadelew-zemene changed the title Feature/crossover operators feat(crossover): implement legacy MOSES crossover operators Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant