Class ConfQFeature

  • All Implemented Interfaces:
    ConfQuery, Confidence

    public final class ConfQFeature
    extends ConfFeature
    implements ConfQuery
    Extends the ConfFeature class to provide means to configure a NetricsQuery.
    • Constructor Detail

      • ConfQFeature

        public ConfQFeature()
        Create an instance with default values.
      • ConfQFeature

        public ConfQFeature​(int minDiff,
                            double blurWindow)
        Create an instance with specific parameter values.
        Throws:
        java.lang.IllegalArgumentException - if a parameter is not in legal range.
        See Also:
        ConfFeature(int, double)
    • Method Detail

      • useInQuery

        public void useInQuery​(com.netrics.likeit.NetricsQuery query)
                        throws com.netrics.likeit.NetricsException
        Configures the given query to use the feature confidence with its parameters.
        Specified by:
        useInQuery in interface ConfQuery
        Parameters:
        query - - the RLink query to be set up. Not null.
        Throws:
        com.netrics.likeit.NetricsException - if query is not an RLink query.