org.databene.benerator.distribution
Class AttachedWeight<E>

java.lang.Object
  extended by org.databene.benerator.distribution.IndividualWeight<org.databene.script.WeightedSample<E>>
      extended by org.databene.benerator.distribution.AttachedWeight<E>
All Implemented Interfaces:
Distribution, Weight

public class AttachedWeight<E>
extends IndividualWeight<org.databene.script.WeightedSample<E>>

IndividualWeight implementation that weighs objects individually. It requires a WeightedSampleGenerator as source.

Created at 30.06.2009 18:41:11

Since:
0.6.0
Author:
Volker Bergmann

Constructor Summary
AttachedWeight()
           
 
Method Summary
 double weight(org.databene.script.WeightedSample<E> object)
           
 
Methods inherited from class org.databene.benerator.distribution.IndividualWeight
applyTo, createNumberGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachedWeight

public AttachedWeight()
Method Detail

weight

public double weight(org.databene.script.WeightedSample<E> object)
Specified by:
weight in class IndividualWeight<org.databene.script.WeightedSample<E>>


Copyright © 2013. All Rights Reserved.