Record Class FcitSepsets.SepsetSearch
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.utils.FcitSepsets.SepsetSearch
- Record Components:
result- the found separator, or nullindeterminate- whether the search was inconclusive
- Enclosing class:
FcitSepsets
public static record FcitSepsets.SepsetSearch(FcitSepsets.SepsetResult result, boolean indeterminate)
extends Record
Three-valued search outcome.
result non-null: a separator was found
(indeterminate is false). result null with indeterminate false: the
full candidate family was enumerated and every candidate tested dependent.
result null with indeterminate true: the search was budget- or
cap-limited (deadline expiry, a skipped indeterminate not-followed branch,
a degraded harvest, or a cap-truncated candidate), so a separator may exist
in the unexplored remainder. Callers should treat indeterminate as a soft
failure, not as evidence of non-separability.- Author:
- josephramsey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FcitSepsets.SepsetSearchThe search was cut short; no verdict.static final FcitSepsets.SepsetSearchThe family was exhausted without finding a separator. -
Constructor Summary
ConstructorsConstructorDescriptionSepsetSearch(FcitSepsets.SepsetResult result, boolean indeterminate) Creates an instance of aSepsetSearchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theindeterminaterecord component.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NOT_FOUND
The family was exhausted without finding a separator. -
INDETERMINATE
The search was cut short; no verdict.
-
-
Constructor Details
-
SepsetSearch
Creates an instance of aSepsetSearchrecord class.- Parameters:
result- the value for theresultrecord componentindeterminate- the value for theindeterminaterecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
result
-
indeterminate
public boolean indeterminate()Returns the value of theindeterminaterecord component.- Returns:
- the value of the
indeterminaterecord component
-