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

Use Set[Tuple[int, str] instead of List[Dict] in all dealings with "state" #348

Open
2 tasks
willu47 opened this issue Apr 5, 2019 · 0 comments
Open
2 tasks
Labels
feature:decisions Decision framework

Comments

@willu47
Copy link
Member

willu47 commented Apr 5, 2019

smif state consists of an intervention name and build_year pair.

At present, this the store reads and writes to and from a dict [{'name': , 'build_year'}, ...]
This could be replaced with a list or set of tuples

  • Replace build_year with build_timestep
  • Replace list of dict with list of tuples
@willu47 willu47 added this to the A Generic Decision Framework milestone Apr 10, 2019
@tomalrussell tomalrussell added feature:decisions Decision framework and removed enhancement labels Aug 5, 2019
@tomalrussell tomalrussell removed this from the A Generic Decision Framework milestone Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:decisions Decision framework
Projects
None yet
Development

No branches or pull requests

2 participants