contrailopt.DAGState¶
- class contrailopt.DAGState(*, best_cost: NDArray[float32], best_mass: NDArray[float32], best_time: NDArray[float32], best_mach: NDArray[float32], best_climb_dist: NDArray[float32], best_climb_time: NDArray[float32], best_prev_h: NDArray[int64], best_prev_fi: NDArray[int64])[source]¶
Working arrays for the wavefront dynamic program.
- __init__(*, best_cost: NDArray[float32], best_mass: NDArray[float32], best_time: NDArray[float32], best_mach: NDArray[float32], best_climb_dist: NDArray[float32], best_climb_time: NDArray[float32], best_prev_h: NDArray[int64], best_prev_fi: NDArray[int64]) None¶
Methods
__init__(*, best_cost, best_mass, best_time, ...)initialize(n_h, n_cols)Initialize arrays to default values for a DAG search.
Attributes
best_costbest_massbest_timebest_machbest_climb_distbest_climb_timebest_prev_hbest_prev_fi