Changeset 2366
- Timestamp:
- 09/16/09 17:15:44 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/SimpleDispatcher.cs
r2363 r2366 187 187 188 188 if (problem.LearningTask == LearningTask.TimeSeries) { 189 algo.ProblemInjector.GetVariable("Autoregressive").GetValue<BoolData>().Data = problem.AutoRegressive;190 algo.ProblemInjector.GetVariable("MinTimeOffset").GetValue<IntData>().Data= problem.MinTimeOffset;191 algo.ProblemInjector.GetVariable("MaxTimeOffset").GetValue<IntData>().Data= problem.MaxTimeOffset;189 ITimeSeriesAlgorithm timeSeriesAlgo = (ITimeSeriesAlgorithm)algo; 190 timeSeriesAlgo.MinTimeOffset = problem.MinTimeOffset; 191 timeSeriesAlgo.MaxTimeOffset = problem.MaxTimeOffset; 192 192 if (problem.AutoRegressive) { 193 193 allowedFeatures.Add(new IntData(targetVariable)); -
trunk/sources/HeuristicLab.Modeling/3.2/ITimeSeriesAlgorithm.cs
r1857 r2366 27 27 namespace HeuristicLab.Modeling { 28 28 public interface ITimeSeriesAlgorithm : IAlgorithm { 29 int MinTimeOffset { get; set; } 30 int MaxTimeOffset { get; set; } 29 31 } 30 32 }
Note: See TracChangeset
for help on using the changeset viewer.