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

Create to_array for strategic-form instances of the Game class #461

Closed
tturocy opened this issue Jul 15, 2024 · 0 comments
Closed

Create to_array for strategic-form instances of the Game class #461

tturocy opened this issue Jul 15, 2024 · 0 comments
Assignees
Milestone

Comments

@tturocy
Copy link
Member

tturocy commented Jul 15, 2024

We already have pygambit.gambit.Game.from_arrays which creates a strategic-form Game from numpy arrays.

This issue is about creating essentially the inverse of this function that converts such a strategic-form Game into numpy arrays.

A natural test for this function would be to create a "roundtrip" that starts with a strategic-form Game, uses the new function, and then uses from_arrays on the output to go back to the original game.

@tturocy tturocy added this to the gambit-16.3.0 milestone Jul 15, 2024
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

No branches or pull requests

2 participants