google-deepmind / google-deepmind/open_spiel

Feature request: Add method that returns the max length of a serialization string.

Open
#1,452 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
1.2k
Avg merge
2d 8h
Merged PRs (30d)
4

Description

Is there a way to retrieve the maximum possible length of the string that .serialize() method can return for a given game? If not can this be implemented?
We are working with vectorized openspiel states in JAX, and having this feature would be useful to set how long the vectors must be.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.