Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ fun executionPath(
): QueryTree<Boolean> {
val collectFailedPaths = type == Must
val findAllPossiblePaths = type == Must
val stopAfterHit = type == May
val earlyTermination = { n: Node, _: Context -> earlyTermination?.let { it(n) } == true }

val evalRes =
Expand All @@ -247,6 +248,7 @@ fun executionPath(
startNode.followEOGEdgesUntilHit(
collectFailedPaths = collectFailedPaths,
findAllPossiblePaths = findAllPossiblePaths,
stopAfterHit = stopAfterHit,
direction = direction,
sensitivities = FilterUnreachableEOG + ContextSensitive,
scope = scope,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ open class QueryTree<T>(

// Update the ID whenever the value changes
id = computeId()
checkForSuppression()
}

/** The value of the [QueryTree] is the result of the query evaluation. */
Expand Down
Loading
Loading