LotSizingDataModel.Instance 2.0.1
Lot-sizing instance representation, descriptors and problem characterization.
Loading...
Searching...
No Matches
TemporalPatternAnalysis.cs
Go to the documentation of this file.
2
3/// <summary>
4/// Represents the deterministic analysis of one finite, non-empty time series.
5/// </summary>
6public sealed class TemporalPatternAnalysis
7{
10 int valueCount,
11 double firstValue,
12 double lastValue,
13 double minimumValue,
14 double maximumValue,
15 double effectiveTolerance)
16 {
17 Pattern = pattern;
18 ValueCount = valueCount;
19 FirstValue = firstValue;
20 LastValue = lastValue;
21 MinimumValue = minimumValue;
22 MaximumValue = maximumValue;
23 EffectiveTolerance = effectiveTolerance;
24 }
25
27 public string HistoricalCode =>
28 Pattern.ToBitranYanasseCode();
29
30 public int ValueCount { get; }
31 public double FirstValue { get; }
32 public double LastValue { get; }
33 public double MinimumValue { get; }
34 public double MaximumValue { get; }
35 public double Range => MaximumValue - MinimumValue;
36 public double EffectiveTolerance { get; }
37}
TemporalPatternAnalysis(TemporalPatternType pattern, int valueCount, double firstValue, double lastValue, double minimumValue, double maximumValue, double effectiveTolerance)
TemporalPatternType
Canonical temporal-pattern categories used by historical lot-sizing classifications such as Bitran-Ya...