gov.sandia.cognition.util
Interface Randomized

All Known Subinterfaces:
MarkovChainMonteCarlo<ObservationType,ParameterType>, ParticleFilter<ObservationType,ParameterType>, RandomizedDataPartitioner<DataType>
All Known Implementing Classes:
AbstractBaggingLearner, AbstractMarkovChainMonteCarlo, AbstractMinDistanceFixedClusterInitializer, AbstractParticleFilter, AbstractRandomized, AbstractRandomVariable, BaggingCategorizerLearner, BaggingRegressionLearner, BinaryBaggingLearner, CategoryBalancedBaggingLearner, CategoryBalancedIVotingLearner, CrossFoldCreator, DirichletProcessClustering, DirichletProcessMixtureModel, DistanceSamplingClusterInitializer, GreedyClusterInitializer, ImportanceSampling, IVotingCategorizerLearner, KMeansFactory, LatentDirichletAllocationVectorGibbsSampler, MetropolisHastingsAlgorithm, MixtureOfGaussians.EMLearner, NeighborhoodGaussianClusterInitializer, OnlineBaggingCategorizerLearner, OnlineKernelRandomizedBudgetPerceptron, ParallelDirichletProcessMixtureModel, ParallelLatentDirichletAllocationVectorGibbsSampler, PartitionalClusterer, PrimalEstimatedSubGradient, ProbabilisticLatentSemanticAnalysis, RandomByTwoFoldCreator, RandomDataPartitioner, RandomSubspace, RandomSubVectorThresholdLearner, RejectionSampling, SamplingImportanceResamplingParticleFilter, ScalarMixtureDensityModel.EMLearner, SequentialMinimalOptimization, StudentizedRangeDistribution, StudentizedRangeDistribution.CDF, ThreeLayerFeedforwardNeuralNetwork, TournamentSelector, UnivariateRandomVariable, VectorizableCrossoverFunction, VectorizablePerturber

public interface Randomized

The Randomized interface defines the functionality of an object whose computations are based in part on an underlying random number generator (a Random object). If an object implements this interface it should not make use of Math.random().

Since:
2.0
Author:
Justin Basilico

Method Summary
 Random getRandom()
          Gets the random number generator used by this object.
 void setRandom(Random random)
          Sets the random number generator used by this object.
 

Method Detail

getRandom

Random getRandom()
Gets the random number generator used by this object.

Returns:
The random number generator used by this object.

setRandom

void setRandom(Random random)
Sets the random number generator used by this object.

Parameters:
random - The random number generator for this object to use.