Package org.powertac.factoredcustomer
Class ProbabilityDistribution
- java.lang.Object
-
- org.powertac.factoredcustomer.ProbabilityDistribution
-
- All Implemented Interfaces:
StructureInstance
public class ProbabilityDistribution extends Object implements StructureInstance
Container class for one a large set of probability distribution samplers. The various samplers are implemented as nested classes.- Author:
- Prashant Reddy
-
-
Constructor Summary
Constructors Constructor Description ProbabilityDistribution(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
drawSample()
String
getName()
void
initialize(FactoredCustomerService service)
String
toString()
-
-
-
Constructor Detail
-
ProbabilityDistribution
public ProbabilityDistribution(String name)
-
-
Method Detail
-
initialize
public void initialize(FactoredCustomerService service)
-
drawSample
public double drawSample()
-
getName
public String getName()
- Specified by:
getName
in interfaceStructureInstance
-
-