Class MProb<T>

java.lang.Object
net.andreinc.markovneat.MProb<T>

public class MProb<T>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    MProb()  
    MProb​(java.util.Random random)  
  • Method Summary

    Modifier and Type Method Description
    MProb<T> add​(double weight, T result)  
    T next()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MProb

      public MProb()
    • MProb

      public MProb​(java.util.Random random)
  • Method Details

    • add

      public MProb<T> add​(double weight, T result)
    • next

      public T next()