Skip to content

Add initialConditionNum for branch node initialization#100

Open
Darrelk wants to merge 1 commit into
bytedance:mainfrom
Darrelk:main
Open

Add initialConditionNum for branch node initialization#100
Darrelk wants to merge 1 commit into
bytedance:mainfrom
Darrelk:main

Conversation

@Darrelk
Copy link
Copy Markdown
Contributor

@Darrelk Darrelk commented May 22, 2026

This change introduces initialConditionNum, which defines the number of condition children created when a new branch node is instantiated.

Previously, branch nodes were initialized with a fixed default number of children. This update makes that behavior configurable, allowing better control over initial branch structure.

If not specified, the default value remains 2.

@Darrelk
Copy link
Copy Markdown
Contributor Author

Darrelk commented May 22, 2026

Let me know if I have to bump the version or update the documentation as well.

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 this pull request may close these issues.

2 participants