Class DirectDataWeightFunction

    • Constructor Detail

      • DirectDataWeightFunction

        public DirectDataWeightFunction()
      • DirectDataWeightFunction

        public DirectDataWeightFunction​(int variableIdx)
        Constructs the function to read the weight from the Double value of a specific variable.
        Parameters:
        variableIdx - of a numeric variable
    • Method Detail

      • serialize

        public void serialize​(java.io.OutputStream os)
                       throws java.io.IOException
        Specified by:
        serialize in interface SerializableWeightFunction
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(java.io.InputStream is)
                         throws java.io.IOException
        Specified by:
        deserialize in interface SerializableWeightFunction
        Throws:
        java.io.IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object