T
- public abstract class AbstractMultiStateTransitionDistributionIndep<T extends Copyable<?>> extends AbstractMultiStateTransitionDistribution<T> implements IndependentSamplingDistribution<AbstractMultiState<T>>
condX, factoryX
Constructor and Description |
---|
AbstractMultiStateTransitionDistributionIndep(AbstractMultiState<T> X,
AbstractMultiStateFactory<T> factoryX) |
Modifier and Type | Method and Description |
---|---|
abstract AbstractMultiState<T> |
drawSample()
Generate a new sample from this density.
|
abstract AbstractMultiState<T> |
drawSample(int i,
AbstractMultiState<T> X)
Generate a new sample from this density by drawing only one independent variable for a given realization x.
|
getCondition, setCondition
public AbstractMultiStateTransitionDistributionIndep(AbstractMultiState<T> X, AbstractMultiStateFactory<T> factoryX)
public abstract AbstractMultiState<T> drawSample(int i, AbstractMultiState<T> X)
IndependentSamplingDistribution
drawSample
in interface IndependentSamplingDistribution<AbstractMultiState<T extends Copyable<?>>>
i
- sample a new realization of the i-th element in xX
- realization of a random vector or finite setpublic abstract AbstractMultiState<T> drawSample()
SamplingDistribution
drawSample
in interface SamplingDistribution<AbstractMultiState<T extends Copyable<?>>>
drawSample
in class AbstractMultiStateTransitionDistribution<T extends Copyable<?>>
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.