Example #1
0
 internal RawData(RawData clone)
     : this(clone.Distribution, clone.Dimension, clone.Set)
 {
     FileInfo = clone.FileInfo;
     NumInstances = clone.NumInstances;
     AlreadySavedPID = clone.AlreadySavedPID;
     Data = clone.Data.Copy();
 }
Example #2
0
 public SDRData(RawData data, SDR sdr)
     : base("SDR", sdr.ToString(), data, Features.Mode.Local)
 {
     _sdr = sdr;
     FileInfo =
         new FileInfo(string.Format(@"{0}\..\{1}\{2}.{3}.{4}.csv", data.FileInfo.Directory, "SDR",
             Distribution, Dimension, Set));
     Read(false);
 }
Example #3
0
 internal HeuristicData(string heuristicName, string heuristicValue, RawData clone, Features.Mode featureMode)
     : base(clone)
 {
     HeuristicName = heuristicName;
     HeuristicValue = heuristicValue;
     _featureMode = featureMode;
     Data.Columns.Add("Makespan", typeof (int));
     Data.Columns.Add("BestFoundMakespan", typeof(int));
     Data.Columns.Add(heuristicName, typeof (string));
 }
Example #4
0
 public CDRData(RawData data, LinearModel model)
     : base("CDR", model.Name, data, model.FeatureMode)
 {
     Model = model;
     FileInfo =
         new FileInfo(string.Format(
             @"{0}\..\CDR\{1}\{2}.{3}.{4}.csv", Model.FileInfo.Directory,
             Model.FileInfo.Name.Substring(0, Model.FileInfo.Name.Length - Model.FileInfo.Extension.Length),
             Distribution, Dimension, Set));
     Read(false);
 }