Interface NoiseWeighter

  • All Known Implementing Classes:
    NoiseWeighterImpl

    public interface NoiseWeighter
    simple interface which calculates a value weighted by the noise, according to the given configuration
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double calcNoisyValue​(double value, double noise)
      calculates the value weighted by the given noise.
      java.util.List<java.lang.Double> calcNoisyValues​(java.util.List<java.lang.Double> values, java.util.List<java.lang.Double> noiseValues)  
      boolean isActiveNoise()  
    • Method Detail

      • calcNoisyValue

        double calcNoisyValue​(double value,
                              double noise)
        calculates the value weighted by the given noise.
        Parameters:
        value - the value for which to calculate the noise
        noise - the noise for the value
        Returns:
        the value weighted by the noise.
      • isActiveNoise

        boolean isActiveNoise()
      • calcNoisyValues

        java.util.List<java.lang.Double> calcNoisyValues​(java.util.List<java.lang.Double> values,
                                                         java.util.List<java.lang.Double> noiseValues)