Class TournamentSampler<T>
java.lang.Object
org.apache.wayang.profiler.log.sampling.TournamentSampler<T>
- All Implemented Interfaces:
Sampler<T>
Sampling strategy that simulates a tournament between elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsample
(Collection<T> set, Battle<T> battle, double selectionProbability) Create a sample from a givenCollection
.
-
Constructor Details
-
TournamentSampler
public TournamentSampler()
-
-
Method Details
-
sample
Description copied from interface:Sampler
Create a sample from a givenCollection
.
-