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

create Channel in opposite direction, if not exists #32

Open
sebulino opened this issue Jul 4, 2022 · 0 comments
Open

create Channel in opposite direction, if not exists #32

sebulino opened this issue Jul 4, 2022 · 0 comments

Comments

@sebulino
Copy link
Contributor

sebulino commented Jul 4, 2022

It's possible that in the Channel Graph there's only information about one channel and information about its return channel is missing. Consequently they are currently not created in the UncertaintyNetwork (and possibly the OracleNetwork).

For the UncertaintyNetwork we still have enough information to create the return channel with a good enough estimate. Thus we should create them if needed. This could be done in the constructor or when the getter is called and would return none.

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