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

Rose Tree Shrink #2249

Open
wants to merge 597 commits into
base: main
Choose a base branch
from
Open

Rose Tree Shrink #2249

wants to merge 597 commits into from

Conversation

cheeseng
Copy link
Contributor

Shrinking with rose tree.

cheeseng and others added 30 commits November 23, 2022 21:23
…t value only when needed, fixed a problem in PosInt canonicals method.
cheeseng and others added 20 commits January 18, 2023 21:53
…e, and choose the size being passed to nextString based on minSize, sizeRange and size of szp.
…ature-rose-tree-after-next-merge-main-230411
@cla-bot cla-bot bot added the cla-signed label Jun 19, 2023

private lazy val maximumIterationCount = 1000000

def depthFirstShrinks[E](fun: T => (Boolean, Option[E])): (LazyListOrStream[RoseTree[T]], Option[E]) = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call this shrinkSearch, because it really is neither depth first nor breadth first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants