Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.LiveCheck
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
- Direct Known Subclasses:
PlausibilityCheck.BranchAngle,PlausibilityCheck.ConstantRadii,PlausibilityCheck.DirectionContinuity,PlausibilityCheck.RadiusContinuity,PlausibilityCheck.SomaDistance,PlausibilityCheck.TerminalBranchLength,PlausibilityCheck.TortuosityConsistency
- Enclosing class:
PlausibilityCheck
A lightweight check that evaluates the plausibility of a single fork
operation (parent + child + branch index). Designed to execute in
sub-millisecond time so it can run inline at Hook 2 (QUERY_KEEP).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<PlausibilityCheck.Warning> Evaluates the plausibility of a child path forking from a parent.abstract StringgetName()booleanvoidsetEnabled(boolean enabled)
-
Constructor Details
-
LiveCheck
public LiveCheck()
-
-
Method Details
-
getName
- Returns:
- a short human-readable name for this check
-
check
Evaluates the plausibility of a child path forking from a parent.- Parameters:
parent- the parent pathchild- the child (candidate) pathbranchIndex- the node index in the parent where the fork occurs- Returns:
- list of warnings (empty if the operation is plausible)
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-