nismod / smif

Simulation Modelling Integration Framework
http://www.itrc.org.uk
MIT License
22 stars 6 forks source link

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

Open willu47 opened 5 years ago

willu47 commented 5 years ago

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