Changeset 17407 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/RegressionProblemDataConverter.cs
- Timestamp:
- 01/27/20 12:18:06 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/RegressionProblemDataConverter.cs
r17406 r17407 14 14 public override Type ConvertableType => HEAL.Attic.Mapper.StaticCache.GetType(new Guid("EE612297-B1AF-42D2-BF21-AF9A2D42791C")); 15 15 16 public override void Populate(IItem value, IJsonItem item, IJsonItemConverter root) { 16 public override void Inject(IItem item, IJsonItem data, IJsonItemConverter root) { 17 // TODO: inject data 18 throw new NotImplementedException(); 19 } 20 21 public override IJsonItem Extract(IItem value, IJsonItemConverter root) { 22 IJsonItem item = new JsonItem() { Name = value.ItemName }; 23 17 24 dynamic val = (dynamic)value; 18 25 object dataset = (object)val.Dataset; … … 38 45 Range = variables.Select(x => x.Value) 39 46 }); 40 } 41 42 public override void InjectData(IItem item, IJsonItem data, IJsonItemConverter root) { 43 // TODO: inject data 44 throw new NotImplementedException(); 47 return item; 45 48 } 46 49 }
Note: See TracChangeset
for help on using the changeset viewer.