Skip to content

Add docs for a homogeneous pop#30

Open
hefos wants to merge 2 commits into
mainfrom
homogeneous-docs
Open

Add docs for a homogeneous pop#30
hefos wants to merge 2 commits into
mainfrom
homogeneous-docs

Conversation

@hefos

@hefos hefos commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Adds documentation for handling a homogeneous population. It's a bit janky to do, but doable with the current machinery. apply_mutation_probability is very much the problem, as it requires a vector. Not sure whether homogeneous with 3+ actions would be 100% possible rn.

... contributor_return = sum_contributions - alpha
... return np.array([contributor_return, sum_contributions])

>>> def homogeneous_moran_process(source, target, fitness_function, N, epsilon, **kwargs):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good name for this function right?

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.

2 participants