Package com.fa993.types
Class SelectThresholdOutput
- java.lang.Object
-
- com.fa993.types.SelectThresholdOutput
-
public class SelectThresholdOutput extends Object
Represents the output of a threshold selection process.This class encapsulates the results of a threshold-based filtering operation, including which elements are retained and the associated left and right thresholds for each element.
-
-
Constructor Summary
Constructors Constructor Description SelectThresholdOutput(boolean[] keep, double[] leftThresholds, double[] rightThresholds)
Constructs a newSelectThresholdOutput
object with the specified keep array, left thresholds, and right thresholds.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean[]
getKeep()
Gets the boolean array indicating which elements are retained.double[]
getLeftThresholds()
Gets the array of left thresholds associated with the elements.double[]
getRightThresholds()
Gets the array of right thresholds associated with the elements.
-
-
-
Constructor Detail
-
SelectThresholdOutput
public SelectThresholdOutput(boolean[] keep, double[] leftThresholds, double[] rightThresholds)
Constructs a newSelectThresholdOutput
object with the specified keep array, left thresholds, and right thresholds.- Parameters:
keep
- a boolean array indicating which elements are retainedleftThresholds
- an array of doubles representing the left thresholdsrightThresholds
- an array of doubles representing the right thresholds
-
-
Method Detail
-
getKeep
public boolean[] getKeep()
Gets the boolean array indicating which elements are retained.- Returns:
- a boolean array where
true
indicates the element is retained andfalse
indicates it is not
-
getLeftThresholds
public double[] getLeftThresholds()
Gets the array of left thresholds associated with the elements.- Returns:
- an array of doubles representing the left thresholds
-
getRightThresholds
public double[] getRightThresholds()
Gets the array of right thresholds associated with the elements.- Returns:
- an array of doubles representing the right thresholds
-
-