causalincentives / pycid

Library for graphical models of decision making, based on pgmpy and networkx
Apache License 2.0
96 stars 13 forks source link

Make strategy functions into generators #31

Closed edlanglois closed 3 years ago

edlanglois commented 3 years ago

Functions like pure_strategies and optimial_pure_strategies should probably be generators so that they produce strategies one at a time on demand instead of loading up the entire list of strategies at once in memory.