Class SMListCorrectnessImpl

    • Constructor Detail

      • SMListCorrectnessImpl

        public SMListCorrectnessImpl()
    • Method Detail

      • setDiscordantParameter

        public void setDiscordantParameter​(double discordantParameter)
        Description copied from interface: SMListCorrectness
        Setting a parameter, that specifies, how the similarity is evaluated if there are more discordant than concordant pairs. By default, this parameter is set to 1.0 and decreases linearly. This means that only discordant pairs have a similarity of 1.0. The parameter can be in the interval 1.0 to 0.0.
        Specified by:
        setDiscordantParameter in interface SMListCorrectness
        Parameters:
        discordantParameter - A double parameter, which specifies the maximum similarity if only discordant pairs exists.
      • getDiscordantParameter

        public double getDiscordantParameter()
        Description copied from interface: SMListCorrectness
        Returns the double parameter, which specifies the maximum similarity if only discordant pairs exists.
        Specified by:
        getDiscordantParameter in interface SMListCorrectness
        Returns:
        A double parameter, which specifies the maximum similarity if only discordant pairs exists.