#region License Information
/* HeuristicLab
* Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
*
* This file is part of HeuristicLab.
*
* HeuristicLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* HeuristicLab is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with HeuristicLab. If not, see .
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HeuristicLab.Core;
using System.Xml;
using HeuristicLab.CEDMA.DB.Interfaces;
using HeuristicLab.Operators;
namespace HeuristicLab.CEDMA.Core {
///
/// Problem describes the data mining task.
/// Contains the actual data and meta-data:
/// * which variables should be modelled
/// * regression, time-series or classification problem
///
public class Problem : ItemBase {
private string name;
public string Name {
get { return name; }
}
private HeuristicLab.DataAnalysis.Dataset dataset;
public HeuristicLab.DataAnalysis.Dataset DataSet {
get { return dataset; }
}
private int trainingSamplesStart;
public int TrainingSamplesStart {
get { return trainingSamplesStart; }
}
private int trainingSamplesEnd;
public int TrainingSamplesEnd {
get { return trainingSamplesEnd; }
}
private int validationSamplesStart;
public int ValidationSamplesStart {
get { return validationSamplesStart; }
set { validationSamplesStart = value; }
}
private int validationSamplesEnd;
public int ValidationSamplesEnd {
get { return validationSamplesEnd; }
set { validationSamplesEnd = value; }
}
private int testSamplesStart;
public int TestSamplesStart {
get { return testSamplesStart; }
set { testSamplesStart = value; }
}
private int testSamplesEnd;
public int TestSamplesEnd {
get { return testSamplesEnd; }
set { testSamplesEnd = value; }
}
private List allowedInputVariables;
private List allowedTargetVariables;
private List minTimeOffsets;
private List maxTimeOffsets;
private bool autoRegressive;
public bool AutoRegressive {
get { return autoRegressive; }
set { autoRegressive = value; }
}
private bool timeSeries;
public bool TimeSeries {
get { return timeSeries; }
set { timeSeries = value; }
}
public Problem()
: base() {
}
}
}