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

Checkpointing Support #46

Open
ncollier opened this issue Aug 8, 2023 · 1 comment
Open

Checkpointing Support #46

ncollier opened this issue Aug 8, 2023 · 1 comment

Comments

@ncollier
Copy link
Member

ncollier commented Aug 8, 2023

Checkpoint:

Seed:

  • Pickle state - repast4py.random.default_rng
  • Seed

Agents:

  • Use agent's save method to save agent
  • Use the canonical restore method to restore the agent

Schedule:

  • Add metadata attribute to event. User provides enough data to recreate the Callable
  • Recreate event using user metadata and event data (i.e., at etc.)

Spatial Projections:

  • Save enough meta-data about the projection to re-create a clean empty one
  • Record agent locations in the saved data
@ncollier
Copy link
Member Author

ncollier commented Aug 8, 2023

Seed and Schedule support implemented in 4461a7c

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

1 participant