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

Default DF initialization #34

Open
sahil1105 opened this issue Jul 7, 2020 · 0 comments
Open

Default DF initialization #34

sahil1105 opened this issue Jul 7, 2020 · 0 comments
Assignees

Comments

@sahil1105
Copy link
Collaborator

Provide an option in the %schema annotation to automatically instantiate a DF (of length 0) even if no such logical atoms appear in the output. Useful when dealing with parametrized programs where output may not include logical atoms of a certain relation but the subsequent code may assume it is there.

Could be flag in the %schema notation which is false by default (maybe default_init?). Could also be another annotation like %default_init [name of relation]. Schema is applied to column names if provided, else the standard x1,x2,.. is used.

@sahil1105 sahil1105 self-assigned this Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant