public class EstepParallel extends java.util.concurrent.RecursiveTask<EstepEstimates>
Constructor and Description |
---|
EstepParallel(ItemResponseVector[] responseVector,
ItemResponseModel[] irm,
DistributionApproximation latentDistribution,
int start,
int length)
Default constructor may be called recursively for parallel computations.
|
Modifier and Type | Method and Description |
---|---|
protected EstepEstimates |
compute()
Recusive computation of the Estep for parallel processing.
|
protected EstepEstimates |
computeDirectly()
Estep computation when the number of response vectors is less than estepParallelThreshold or when
the recursive algorithm has reached its stopping condition.
|
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
public EstepParallel(ItemResponseVector[] responseVector, ItemResponseModel[] irm, DistributionApproximation latentDistribution, int start, int length)
responseVector
- response vectors for a given set of datairm
- an array of item response models whose parameters are being estimatedlatentDistribution
- latent distribution quadrature used for computing the marginal likelihoodstart
- beginning index for the response vector. Manual calls should always be 0, recursive calls are done automatically.length
- length of the response vector segment. This length is manually set to the length of the response vector.
Recursive calls use the value specified by estepParallelThreshold.protected EstepEstimates computeDirectly()
protected EstepEstimates compute()
compute
in class java.util.concurrent.RecursiveTask<EstepEstimates>