Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend IG with reward modes, make terms uniform across IG and BPD #57

Merged
merged 8 commits into from
Jun 18, 2024

Conversation

rradules
Copy link
Collaborator

Extend IG with reward modes, correct descriptions, make terms uniform across IG and BPD (reward mode instead of scheme, individual/team instead of local/global).

@rradules rradules requested a review from ffelten May 29, 2024 10:24
sections,
capacity,
type_distribution,
position_distribution,
render_mode,
)
self.reward_scheme = reward_scheme
if reward_mode not in ["individual", "team"]:
self.reward_mode = "individual"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why don't we throw an exception in that case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed in the meantime to throw a warning and fall back on the individual setting.

@rradules rradules requested a review from ffelten June 3, 2024 14:41
Copy link
Collaborator

@ffelten ffelten left a comment

Choose a reason for hiding this comment

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

A few comments otherwise LGTM :-)

momaland/learning/morl/random_centralised_agent_example.py Outdated Show resolved Hide resolved
momaland/learning/morl/random_centralised_agent_example.py Outdated Show resolved Hide resolved
momaland/learning/morl/train_ig_GPILS.py Outdated Show resolved Hide resolved
momaland/learning/morl/train_ig_PCN.py Outdated Show resolved Hide resolved
@rradules rradules merged commit e4966dd into main Jun 18, 2024
10 checks passed
@rradules rradules deleted the extend-bpd-ig branch June 18, 2024 09:18
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