org.databene.benerator.distribution
Class IndividualWeight<E>
java.lang.Object
org.databene.benerator.distribution.IndividualWeight<E>
- All Implemented Interfaces:
- Distribution
- Direct Known Subclasses:
- AttachedWeight, FeatureWeight
public abstract class IndividualWeight<E>
- extends java.lang.Object
- implements Distribution
Distribution type that provides an individual weight for each object.
Created at 27.04.2008 19:17:38
- Since:
- 0.5.2
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndividualWeight
public IndividualWeight()
weight
public abstract double weight(E object)
createGenerator
public <T extends java.lang.Number> Generator<T> createGenerator(java.lang.Class<T> numberType,
T min,
T max,
T precision,
boolean unique)
- Specified by:
createGenerator in interface Distribution
applyTo
public <T> Generator<T> applyTo(Generator<T> source,
boolean unique)
- Specified by:
applyTo in interface Distribution
Copyright © 2010. All Rights Reserved.