de.jstacs.utils.random
Class FastDirichletMRGParams

java.lang.Object
  extended by de.jstacs.utils.random.MRGParams
      extended by de.jstacs.utils.random.DiMRGParams
          extended by de.jstacs.utils.random.FastDirichletMRGParams

public class FastDirichletMRGParams
extends DiMRGParams

The container for parameter of a Dirichlet random generator that used the same hyperparameter at all positions.

Author:
Jens Keilwagen
See Also:
MRGParams, DirichletMRGParams

Constructor Summary
FastDirichletMRGParams(double alpha)
           
 
Method Summary
 int getDimension()
           
 double getHyperparameter(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastDirichletMRGParams

public FastDirichletMRGParams(double alpha)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getDimension

public int getDimension()
Specified by:
getDimension in class DiMRGParams

getHyperparameter

public double getHyperparameter(int i)
Specified by:
getHyperparameter in class DiMRGParams