gov.sandia.cognition.text.topic
Class ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.text.topic.ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask
All Implemented Interfaces:
CloneableSerializable, Serializable, Cloneable, Callable<Boolean>
Enclosing class:
ParallelLatentDirichletAllocationVectorGibbsSampler

protected class ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask
extends AbstractCloneableSerializable
implements Callable<Boolean>

A document sampling task

See Also:
Serialized Form

Constructor Summary
ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask(Vector v, int doc, int occ)
          Creates a new instance of DocumentSampleTask
 
Method Summary
 Boolean call()
           
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask

public ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask(Vector v,
                                                                              int doc,
                                                                              int occ)
Creates a new instance of DocumentSampleTask

Parameters:
v - - term frequency vector for a single document
doc - - document address in sample arrays
occ - - occurrence address in sample occurrence array
Method Detail

call

public Boolean call()
             throws Exception
Specified by:
call in interface Callable<Boolean>
Throws:
Exception