Class BloomFilter.Parameters

java.lang.Object
org.drasyl.util.BloomFilter.Parameters
Enclosing class:
BloomFilter<E>

protected static class BloomFilter.Parameters extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     
    protected final int
     
    protected final int
     
    protected final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Parameters(int n, double p, int m, int k)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • n

      protected final int n
    • p

      protected final double p
    • m

      protected final int m
    • k

      protected final int k
  • Constructor Details

    • Parameters

      public Parameters(int n, double p, int m, int k)
  • Method Details