Package org.powertac.factoredcustomer
Class TimeseriesGenerator
- java.lang.Object
-
- org.powertac.factoredcustomer.TimeseriesGenerator
-
- All Implemented Interfaces:
StructureInstance
public final class TimeseriesGenerator extends Object implements StructureInstance
Utility class that generates various time series patterns that can be used as base capacity series by implementations of @code{CapacityOriginator}.- Author:
- Prashant Reddy, Govert Buijs
-
-
Constructor Summary
Constructors Constructor Description TimeseriesGenerator(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
generateNext(int timeslot)
String
getName()
void
initialize(FactoredCustomerService service)
-
-
-
Constructor Detail
-
TimeseriesGenerator
public TimeseriesGenerator(String name)
-
-
Method Detail
-
initialize
public void initialize(FactoredCustomerService service)
-
getName
public String getName()
- Specified by:
getName
in interfaceStructureInstance
-
generateNext
public double generateNext(int timeslot)
-
-