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

FEA generator function for m-separating sets #116

Open
adam2392 opened this issue Jul 15, 2024 · 0 comments
Open

FEA generator function for m-separating sets #116

adam2392 opened this issue Jul 15, 2024 · 0 comments

Comments

@adam2392
Copy link
Collaborator

adam2392 commented Jul 15, 2024

Is your feature request related to a problem? Please describe.
A generator for m-separating sets from Van Zander 2015.

Describe the solution you'd like
Given an ancestral graph (CPDAG/MAG/PAG), generate in polynomial-delay time separators and adjustment sets (see adjustmentSets in dagitty R package). This would be a function that yields a new m-separating set.

def m_separating_sets(graph, source, target):
    … implementation details
    yield separating_set

See the API for this kind of generators in networkx: https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.shortest_paths.generic.all_shortest_paths.html#networkx.algorithms.shortest_paths.generic.all_shortest_paths

Additional context
py-why/dowhy#402 (comment)

cc: @aryan26roy

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

1 participant