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

Raise NotImplementedError for policies that are not implemented in the cost functions #3

Open
sakshamsoni97 opened this issue Mar 19, 2021 · 1 comment
Assignees

Comments

@sakshamsoni97
Copy link
Collaborator

Currently implemented policies are 'No_Measure' and 'Lockdown'.

We want to gradually implement - 'No_Measure', 'Restrict_Mass_Gatherings', 'Mass_Gatherings_Authorized_But_Others_Restricted', 'Restrict_Mass_Gatherings_and_Schools', 'Authorize_Schools_but_Restrict_Mass_Gatherings_and_Others', 'Restrict_Mass_Gatherings_and_Schools_and_Others' and 'Lockdown'

Any other strings should give an error.

@bro-opt
Copy link
Collaborator

bro-opt commented Mar 19, 2021

@MichaelLLi , I've implemented a bug fix for that, with example.py providing you with a basic unit test to see if implemented.

Commit id:
0874f4a

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

3 participants