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

Idea: Piping #14

Open
FeignDeath opened this issue Nov 18, 2024 · 0 comments
Open

Idea: Piping #14

FeignDeath opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FeignDeath
Copy link
Contributor

In regard to the request for preprocessing, I wanted to ask whether it is possible to have multiple encodings solve the problem in a piped manner.

For example:
1.lp has #show cat/3.
then 2.lp would get all atoms passed via show statements and continue computing.

Use case:
I might be interested in researching partitioning of the flatland environment. To that end I would run an encoding partitioning.lp and afterwards the correct encoding which takes the partitioning into account. Since partitioning would be an optimization problem, it would need to have its results piped so following encodings don't ground for all possible partitionings.

Example

  1. env.lp + partitioning.lp (for example with 2 partitions)
  2. 1_result.lp + partition1.lp
  3. 2_result.lp + partition2.lp

I just wanted to ask whether you think that would be possible, before I think about it too much.

@helloKep helloKep added the enhancement New feature or request label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants