Class EntropyFunction

    • Constructor Summary

      Constructors 
      Constructor Description
      EntropyFunction()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Double eval​(java.util.Vector<java.lang.Double> x)
      Evaluates the function for the given element.
      Term getTerm​(java.util.Vector<Term> element)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntropyFunction

        public EntropyFunction()
    • Method Detail

      • eval

        public java.lang.Double eval​(java.util.Vector<java.lang.Double> x)
        Description copied from interface: SimpleFunction
        Evaluates the function for the given element.
        Specified by:
        eval in interface SimpleFunction<java.util.Vector<java.lang.Double>,​java.lang.Double>
        Parameters:
        x - some element
        Returns:
        the value of the element.