Example #1
0
 public GenData(AeroPredictor vessel, Conditions conditions, float speed, CalculationManager manager)
 {
     this.vessel     = vessel;
     this.conditions = conditions;
     this.speed      = speed;
     this.storeState = manager.GetStateToken();
 }
 public GenData(AeroPredictor vessel, Conditions conditions, float speed, float altitude, CalculationManager manager, float AoA_guess = float.NaN, float maxA_guess = float.NaN, float pitchI_guess = float.NaN)
 {
     this.vessel       = vessel;
     this.conditions   = conditions;
     this.speed        = speed;
     this.altitude     = altitude;
     this.storeState   = manager.GetStateToken();
     this.AoA_guess    = AoA_guess;
     this.maxA_guess   = maxA_guess;
     this.pitchI_guess = pitchI_guess;
 }
Example #3
0
 public LineGenData(CalculationManager manager, AeroPredictor vessel, Conditions conditions, float exitSpeed, float exitAlt, float initialSpeed, float initialAlt, CostIncreaseFunction costIncreaseFunc, Predicate <float> neighborPredicate, float[,] predicateData, CostIncreaseFunction timeDifferenceFunc)
 {
     this.state              = manager.GetStateToken();
     this.vessel             = vessel;
     this.conditions         = conditions;
     this.exitSpeed          = exitSpeed;
     this.exitAlt            = exitAlt;
     this.initialSpeed       = initialSpeed;
     this.initialAlt         = initialAlt;
     this.costIncreaseFunc   = costIncreaseFunc;
     this.timeDifferenceFunc = timeDifferenceFunc;
     this.neighborPredicate  = neighborPredicate;
     this.predicateData      = predicateData;
 }