Package HAL.Tools

Class MultinomialCalc

  • All Implemented Interfaces:
    java.io.Serializable

    public class MultinomialCalc
    extends Rand
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • popRemaining

        public int popRemaining
      • probRemaining

        public double probRemaining
    • Constructor Detail

      • MultinomialCalc

        public MultinomialCalc​(Rand rng)
    • Method Detail

      • Setup

        public void Setup​(int pop)
      • Sample

        public int Sample​(double prob)
      • GetPopRemaining

        public int GetPopRemaining()
      • GetProbRemaining

        public double GetProbRemaining()