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

feat: allow strategies more autonomy in sampling decisions #47

Closed
pekasen opened this issue Apr 5, 2023 · 0 comments · Fixed by #70
Closed

feat: allow strategies more autonomy in sampling decisions #47

pekasen opened this issue Apr 5, 2023 · 0 comments · Fixed by #70

Comments

@pekasen
Copy link
Member

pekasen commented Apr 5, 2023

ATM: Spider keeps track of whether enough seeds are created.

Solution 1: register more than one function per strategy:

  • walk-function
  • teleport-function
  • condition-function
  • recheck_node-function

Other solution (which I favor more at the moment):

  • the sampler is still one relatively simple function that is passed:
    • the entire node table
    • the edges of the last iteration's seeds
    • a table which the sampler updates (e.g. to keep track of which nodes are burnt if the sampler might want to do so)
    • the configuration
  • the sampler then does it's thing and additionally returns an update for the sampler-table (e.g. nodes that were burnt in the past iteration)
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

Successfully merging a pull request may close this issue.

1 participant