Class FragmentRules


  • public class FragmentRules
    extends Object
    Provides configuration options for rules determine if a fragment is useful
    • Field Detail

      • thresholdWidth

        double thresholdWidth
      • thresholdHeight

        double thresholdHeight
      • subtreeWidth_and

        int subtreeWidth_and
      • subtreeWidth_or

        int subtreeWidth_or
    • Constructor Detail

      • FragmentRules

        public FragmentRules()
      • FragmentRules

        public FragmentRules​(double thresholdWidth,
                             double thresholdHeight,
                             int subtreeWidth_and,
                             int subtreeWidth_or)
    • Method Detail

      • getThresholdWidth

        public double getThresholdWidth()
      • setThresholdWidth

        public void setThresholdWidth​(double thresholdWidth)
      • getThresholdHeight

        public double getThresholdHeight()
      • setThresholdHeight

        public void setThresholdHeight​(double thresholdHeight)
      • getSubtreeWidth_and

        public int getSubtreeWidth_and()
      • setSubtreeWidth_and

        public void setSubtreeWidth_and​(int subtreeWidth_and)
      • getSubtreeWidth_or

        public int getSubtreeWidth_or()
      • setSubtreeWidth_or

        public void setSubtreeWidth_or​(int subtreeWidth_or)