Class RQPHelper


  • public class RQPHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.Map.Entry<org.apache.commons.math3.geometry.euclidean.oned.Interval[],​T> getEntry​(org.apache.commons.math3.geometry.euclidean.oned.Interval[] interval, T tree)  
      static RQPHelper.IntervalAndHeader mapWEKAToTree​(weka.core.Instance data)
      Maps the WEKA query to a tree-friendly query while also preserving the header information of the query, this is important for M5 trees.
      static org.apache.commons.math3.geometry.euclidean.oned.Interval[] substituteInterval​(org.apache.commons.math3.geometry.euclidean.oned.Interval[] original, org.apache.commons.math3.geometry.euclidean.oned.Interval toSubstitute, int index)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mapWEKAToTree

        public static final RQPHelper.IntervalAndHeader mapWEKAToTree​(weka.core.Instance data)
        Maps the WEKA query to a tree-friendly query while also preserving the header information of the query, this is important for M5 trees.
        Parameters:
        data -
        Returns:
      • substituteInterval

        public static final org.apache.commons.math3.geometry.euclidean.oned.Interval[] substituteInterval​(org.apache.commons.math3.geometry.euclidean.oned.Interval[] original,
                                                                                                           org.apache.commons.math3.geometry.euclidean.oned.Interval toSubstitute,
                                                                                                           int index)
      • getEntry

        public static final <T> java.util.Map.Entry<org.apache.commons.math3.geometry.euclidean.oned.Interval[],​T> getEntry​(org.apache.commons.math3.geometry.euclidean.oned.Interval[] interval,
                                                                                                                                  T tree)