-
Couldn't load subscription status.
- Fork 0
add max_ops arg to limit maximum iterations #11
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
Conversation
|
Warning Review failedThe pull request is closed. WalkthroughThe recent modifications across several modules enhance the functionality of bounded search algorithms by introducing a Changes
Sequence DiagramssequenceDiagram
participant Main
participant Bbs
participant Bfs
participant Bms
participant Dfs
participant Gds
Main ->> Bbs: Call bbs with max_ops
Bbs ->> BbsReachable: Initialize with max_ops
BbsReachable ->> BbsReachable: Check and decrement remained_ops
Main ->> Bfs: Call bfs with max_ops
Bfs ->> BfsFunction: Process call with max_ops
Main ->> Bms: Call bms with max_ops
Bms ->> BmsReachable: Initialize with max_ops
BmsReachable ->> BmsReachable: Check and decrement remained_ops
Main ->> Dfs: Call dfs with max_ops
Dfs ->> DfsFunction: Process call with max_ops
Main ->> Gds: Call gds with max_ops
Gds ->> GdsFunction: Process call with max_ops
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Summary by CodeRabbit
New Features
max_opsparameter to limit the number of search operations in various search functions (bbs,bfs,bms,dfs,gds).max_opslimit, improving control over computational resources and preventing excessive processing times.Tests
max_opsparameter.