Changeset 16439 for branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis/3.3
- Timestamp:
- 12/21/18 14:35:33 (6 years ago)
- Location:
- branches/2965_CancelablePersistence
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2965_CancelablePersistence
-
branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.Instances.DataAnalysis merged: 16431
- Property svn:mergeinfo changed
-
branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/AircraftLift.cs
r16433 r16439 26 26 27 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { 28 class AircraftLift : ArtificialRegressionDataDescriptor {28 public class AircraftLift : ArtificialRegressionDataDescriptor { 29 29 public override string Name { get { return "Aircraft Lift Coefficient C_L = C_La (a - a0) + C_Ld_e d_e S_HT / S_ref"; } } 30 30 -
branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/AircraftMaximumLift.cs
r16433 r16439 26 26 27 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { 28 class AircraftMaximumLift : ArtificialRegressionDataDescriptor {28 public class AircraftMaximumLift : ArtificialRegressionDataDescriptor { 29 29 public override string Name { get { return "Aircraft Maximum Lift Coefficient f(X) = x1 - 1/4 x4 x5 x6 (4 + 0.1 x2/x3 - x2²/x3²) + x13 x14/x15 x18 x7 - x13 x14/x15 x8 + x13 x14/x15 x9 + x16 x17/x15 x18 x10 - x16 x17/x15 x11 + x16 x17/x15 x12"; } } 30 30 -
branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/FluidDynamics.cs
r16433 r16439 26 26 27 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { 28 class FluidDynamics : ArtificialRegressionDataDescriptor {28 public class FluidDynamics : ArtificialRegressionDataDescriptor { 29 29 public override string Name { get { return "Flow Psi = V_inf r sin(th) (1 - R²/r²) + G/(2 π) ln(r/R)"; } } 30 30 -
branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/PhysicsInstanceProvider.cs
r16433 r16439 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 override IEnumerable<IDataDescriptor> GetDataDescriptors() { 28 return new List<IDataDescriptor>() 29 { 30 new RocketFuelFlow(123), 31 new AircraftLift(456), 32 new FluidDynamics(789), 33 new AircraftMaximumLift(321) 34 }; 35 } 36 27 public class PhysicsInstanceProvider : ArtificialRegressionInstanceProvider { 37 28 public override string Name { get { return "Physics Benchmark Problems"; } } 38 29 public override string Description { get { return ""; } } … … 43 34 } 44 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 45 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { 46 var rand = new FastRandom(Seed); 47 48 return new List<IDataDescriptor>() 49 { 50 new RocketFuelFlow(rand.Next()), 51 new AircraftLift(rand.Next()), 52 new FluidDynamics(rand.Next()), 53 new AircraftMaximumLift(rand.Next()) 54 }; 55 } 45 56 } 46 57 } -
branches/2965_CancelablePersistence/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Physics/RocketFuelFlow.cs
r16433 r16439 26 26 27 27 namespace HeuristicLab.Problems.Instances.DataAnalysis { 28 class RocketFuelFlow : ArtificialRegressionDataDescriptor {28 public class RocketFuelFlow : ArtificialRegressionDataDescriptor { 29 29 public override string Name { get { return "Rocket Fuel Flow m_dot = p0 A / sqrt(T0) * sqrt(γ/R (2/(γ+1))^((γ+1) / (γ-1)))"; } } 30 30
Note: See TracChangeset
for help on using the changeset viewer.