esa / esa/pygmo2

Expose setters for island selection and replacement policies

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
536
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Getting list of islands would already be helpful, because as it stands now, one has to index each island directly or loop over the whole archipelago if one is interested at a specific part of it.

Useful for a migration study (given a specific topology) would be for example:
```
sending_islands = archi[:k]
receiving_islands = archi[k:]

for isl in sending_islands:
isl.set_s_policy(...)

for isl in receiving_islands:
isl.set_r_policy(...)
```
While those setters still don't exist and constitute probably another issue...

_Originally posted by @CoolRunning in https://github.com/esa/pygmo2/issues/5#issuecomment-581437594_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.