-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Sets enumerated by exploring a search space with a (lazy) tree or graph structure #6000
Comments
comment:1
Attachment: transitive_ideal-6000-submitted.patch.gz |
This comment has been minimized.
This comment has been minimized.
Apply on top of main patch |
comment:3
Attachment: trac_6000_reviewer.patch.gz Passes tests: ./sage -t devel/sage-backtrack/sage/combinat/ Reviewer patch adds two doctests, and some general cleanup, so apply on top of the main patch. In the case of a search tree (not a graph), options for "leaves only" would be useful. Then the generators could be checked for a first element when using a search tree for existence questions. Building a single function to call these routines as variants might ease the question of names and interfaces. Positive review. |
comment:4
Merged in 4.0.1.alpha0. |
Merged: 4.0.1.alpha0 |
Reviewer: Rob Beezer |
Author: Nicolas Thiery |
Changed author from Nicolas Thiery to Nicolas M. Thiéry |
This patches extend the sage.combinat.backtrack library with other
generic tools for constructing large sets whose elements can be
enumerated by exploring a search space with a (lazy) tree or graph
structure.
Depth first search through a tree descrived by a
child
functionDepth first search through a tree descrived by a
child
function, with branch pruning, ...Depth first search through a graph described by a
neighbours
relationBreath first search through a graph described by a
neighbours
relationTodo: the names are crappy and inconsistent, because they come from
different point of views. We need to find a good naming scheme!!!
Do we want to emphasize the underlying graph/tree structure? The
branch&bound aspect? The transitive closure of a relation point of
view?
Todo: which interface do we want:
The code needs to be standardized once the choice is done.
CC: @sagetrac-sage-combinat
Component: combinatorics
Keywords: enumerate sets, depth first search, ideal of a relation
Author: Nicolas M. Thiéry
Reviewer: Rob Beezer
Merged: 4.0.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6000
The text was updated successfully, but these errors were encountered: