java.lang.Object
org.graylog.plugins.pipelineprocessor.functions.strings.ShannonEntropy

public class ShannonEntropy extends Object
  • Constructor Details

    • ShannonEntropy

      public ShannonEntropy()
  • Method Details

    • calculateForChars

      public static double calculateForChars(String input)
      Calculate Shannon Entropy for the characters in a string.
      Parameters:
      input - The input string.
      Returns:
      a double representing the entropy.