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

public abstract static class PlausibilityCheck.LiveCheck extends Object
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 Details

    • LiveCheck

      public LiveCheck()
  • Method Details

    • getName

      public abstract String getName()
      Returns:
      a short human-readable name for this check
    • check

      public abstract List<PlausibilityCheck.Warning> check(Path parent, Path child, int branchIndex)
      Evaluates the plausibility of a child path forking from a parent.
      Parameters:
      parent - the parent path
      child - the child (candidate) path
      branchIndex - 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)