gmm
Class AStar

java.lang.Object
  extended by gmm.GMMEstimator
      extended by gmm.AStar

public class AStar
extends GMMEstimator

This class implements the A* search for finding the maximum likelihood parameters for GMM.


Field Summary
 
Fields inherited from class gmm.GMMEstimator
GMM, logL, maxIters, n, pi, Q, runningTime, theta, V
 
Constructor Summary
AStar(boolean GMM, float[][] Q, int heuristic, int bw)
           
 
Method Summary
 boolean finishedWithBeam()
           
 int getNodesGenerated()
           
 float getNodesGeneratedAsMultiple()
           
 void run()
          This method causes the estimator to run, and estimate the GMM parameters.
 
Methods inherited from class gmm.GMMEstimator
computeLogL, computeThetas, computeVjs, getAvgDk, getLogL, getLogLForQ, getPi, getRunningTime, lnPsiJPrime, minimizeF, minimizeFj, minValueOfFj, printLearnedModel, PsiJ, sumOfLnPsiJPrime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AStar

public AStar(boolean GMM,
             float[][] Q,
             int heuristic,
             int bw)
Method Detail

getNodesGenerated

public int getNodesGenerated()

getNodesGeneratedAsMultiple

public float getNodesGeneratedAsMultiple()
Returns:
the number of nodes generated as a multiple of the minimum possible number.

finishedWithBeam

public boolean finishedWithBeam()

run

public void run()
         throws java.lang.Exception
Description copied from class: GMMEstimator
This method causes the estimator to run, and estimate the GMM parameters. Any estimator must provide a concrete implementation of this method.

Specified by:
run in class GMMEstimator
Throws:
java.lang.Exception