Changeset 16495 for stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/PhysicsInstanceProvider.cs
- Timestamp:
- 01/03/19 19:05:37 (6 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 16264,16394,16431
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.Instances.DataAnalysis merged: 16264,16394,16431
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/PhysicsInstanceProvider.cs
r16264 r16495 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Random; 24 25 25 26 namespace HeuristicLab.Problems.Instances.DataAnalysis { 26 class PhysicsInstanceProvider : ArtificialRegressionInstanceProvider { 27 public class PhysicsInstanceProvider : ArtificialRegressionInstanceProvider { 28 public override string Name { get { return "Physics Benchmark Problems"; } } 29 public override string Description { get { return ""; } } 30 public override Uri WebLink { get { return new Uri(@"https://doi.org/10.1016/j.eswa.2018.05.021"); } } 31 public override string ReferencePublication { 32 get { 33 return "Chen Chen, Changtong Luo, Zonglin Jiang, \"A multilevel block building algorithm for fast modeling generalized separable systems\", Expert Systems with Applications, Volume 109, 2018, Pages 25-34 https://doi.org/10.1016/j.eswa.2018.05.021 as well as the (slightly different) pre-print on arXiv: https://arxiv.org/abs/1706.02281"; 34 } 35 } 36 37 public int Seed { get; private set; } 38 39 public PhysicsInstanceProvider() : this((int)DateTime.Now.Ticks) { } 40 41 public PhysicsInstanceProvider(int seed) : base() { 42 Seed = seed; 43 } 44 27 45 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { 46 var rand = new FastRandom(Seed); 47 28 48 return new List<IDataDescriptor>() 29 49 { 30 new RocketFuelFlow( 123),31 new AircraftLift( 456),32 new FluidDynamics( 789),33 new AircraftMaximumLift( 321)50 new RocketFuelFlow(rand.Next()), 51 new AircraftLift(rand.Next()), 52 new FluidDynamics(rand.Next()), 53 new AircraftMaximumLift(rand.Next()) 34 54 }; 35 }36 37 public override string Name { get { return "Physics Benchmark Problems"; } }38 public override string Description { get { return ""; } }39 public override Uri WebLink { get { return new Uri(@"https://arxiv.org/abs/1706.02281"); } }40 public override string ReferencePublication {41 get {42 return "Chen Chen, Changtong Luo, Zonglin Jiang, 2017 " +43 "\"A multilevel block search algorithm for fast modeling generalized separable systems.\" arXiv preprint arXiv:1706.02281, v3";44 }45 55 } 46 56 }
Note: See TracChangeset
for help on using the changeset viewer.