2using System.Xml.Serialization;
16[XmlType(TypeName =
"setupTime")]
59 double defaultSetupTime)
107 string parameterName)
110 base.ValidateValue(value, parameterName);
115 throw new ArgumentOutOfRangeException(
118 "A setup time cannot be negative.");
Represents a sequence of finite double values indexed by planning period.
SetupTime(int planningHorizon)
Initializes a setup-time parameter for the specified planning horizon.
override void ValidateValue(double value, string parameterName)
Validates a setup-time value.
double GetSetupTime(int period)
Gets the setup time for a planning period.
DoubleTimeSeries SetupTimeByPeriod
Gets the complete setup-time series.
SetupTime()
Initializes an empty setup-time parameter.
void SetSetupTime(int period, double setupTime)
Sets the setup time for a planning period.
SetupTime(int planningHorizon, double defaultSetupTime)
Initializes a setup-time parameter for the specified planning horizon and assigns the same setup time...
DoubleTimeSeriesParameter()
Initializes an empty period-dependent parameter.
double GetValue(int period)
Gets the parameter value for a planning period.
DoubleTimeSeries Values
Gets or sets the values of the parameter for all planning periods.
void SetValue(int period, double value)
Sets the parameter value for a planning period.