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

Implement listNeighbors #65

Open
dehann opened this issue Apr 10, 2022 · 1 comment
Open

Implement listNeighbors #65

dehann opened this issue Apr 10, 2022 · 1 comment

Comments

@dehann
Copy link
Member

dehann commented Apr 10, 2022

listNeighbors(clicon..., "x4")

get back the list of factors connected to that variable

["x3x4f_sdr"; "x4x5f_3r3"; "x4l7f_34r"]

And visa versa for the variables connected to a factor, but that case should just alias to equivalent of:

getVariableOrder(dfg, fctlbl)

which gives back

["x3";"x4"]

Thereafter, alias the specific dispatches for list and ls, also lsf.

PS, I'm writing hot and loose wrt String vs Symbol -- should resolve the default there better.

@dehann
Copy link
Member Author

dehann commented Jun 10, 2022

xref:

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