Function to only calculate a predefined number of solutions #97
Syntec2dot0
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently there is only getSolution() which returns one solution and getSolutions() which returns all of them. For the sake of efficiency it might be helpful to have a function where you can specify how many distinct solutions to a problem you need at a maximum. I am not intimately familiar with the code so I am unsure if this would actually help efficiency, but it is something that has come up in my current research project that uses CSPs to generate instances of planning domains.
Beta Was this translation helpful? Give feedback.
All reactions