T
- public class MultiTargetRBMCDA<T extends TargetID> extends ParticleDistribution<RBMCDASample<T>> implements MultiTargetPredictionFilter<AbstractMultiState<T>>
Modifier and Type | Field and Description |
---|---|
protected AssociationDistribution<T,T> |
assocDistrib |
protected double |
esspercentage |
protected Vector<HashMap<Integer,Integer>> |
groundtruthToSampleTargetIDs |
OutputStream |
ostream |
cweights, equalWeights, particles, rand, weights
Constructor and Description |
---|
MultiTargetRBMCDA(Random rand,
RBMCDASample<T>[] initialStateParticles,
AssociationDistribution<T,T> assocDistrib) |
MultiTargetRBMCDA(Random rand,
RBMCDASample<T> initialState,
int numParticles,
AssociationDistribution<T,T> assocDistrib) |
Modifier and Type | Method and Description |
---|---|
MultiTargetPredictionFilter<AbstractMultiState<T>> |
copy()
Not implemented, always returns
null |
double |
getESSPercentage()
If this percentage of number of samples is below the current effective sample size (ESS), the samples are resampled.
|
AbstractMultiState<T> |
getMean() |
void |
predict()
Prediction step method
|
void |
setESSPercentage(double essPercentage)
Set percentage of number of samples used to determine if resampling is required, i.e. if it is below the current effective sample size (ESS).
|
void |
update(AbstractMultiState<T> observation,
DataAssociation association)
The DataAssociation object may be null and is interpreted as groundtruth if given.
|
computeESS, drawSample, equalWeights, getNumOfParticles, getParticle, getParticles, getWeight, getWeights, normalizeWeights, resample, setEqualWeightsFlag, setParticle, setWeight
protected AssociationDistribution<T extends TargetID,T extends TargetID> assocDistrib
protected double esspercentage
public OutputStream ostream
public MultiTargetRBMCDA(Random rand, RBMCDASample<T> initialState, int numParticles, AssociationDistribution<T,T> assocDistrib)
public MultiTargetRBMCDA(Random rand, RBMCDASample<T>[] initialStateParticles, AssociationDistribution<T,T> assocDistrib)
public AbstractMultiState<T> getMean()
getMean
in interface FirstOrderMoment<AbstractMultiState<T extends TargetID>>
public MultiTargetPredictionFilter<AbstractMultiState<T>> copy()
null
copy
in interface Copyable<MultiTargetPredictionFilter<AbstractMultiState<T extends TargetID>>>
public void predict()
MultiTargetPredictionFilter
predict
in interface MultiTargetPredictionFilter<AbstractMultiState<T extends TargetID>>
public void update(AbstractMultiState<T> observation, DataAssociation association)
update
in interface MultiTargetPredictionFilter<AbstractMultiState<T extends TargetID>>
public double getESSPercentage()
public void setESSPercentage(double essPercentage)
essPercentage
- percentage in range [0,1] of the number of samples. 0=no resampling ... 1=resamping in every time step.Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.