ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
aodesolver.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2017-2020 German Aerospace Center (DLR).
3  * Eclipse ADORe, Automated Driving Open Research https://eclipse.org/adore
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License 2.0 which is available at
7  * http://www.eclipse.org/legal/epl-2.0.
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  * Daniel Heß - initial API and implementation
13  ********************************************************************************/
14 
15 #pragma once
16 
17 #include "aodemodel.h"
18 
19 namespace adore
20 {
21  namespace mad
22  {
26  template<typename T>
27  class AOdeSolver
28  {
29  public:
31  }
32 
33  virtual ~AOdeSolver() {
34  }
35 
43  virtual adoreMatrix<T> solve(AOdeModel<T>* model, const adoreMatrix<double, 1, 0>& time, const adoreMatrix<double, 0, 1>& x0) = 0;
44 
53  virtual adoreMatrix<T> solve_with_output(AOdeModelWithOutput<T>* model, const adoreMatrix<double, 1, 0>& time, const adoreMatrix<double, 0, 1>& x0, adoreMatrix<double>& Y_out) = 0;
54  };
55  }
56 }
Definition: aodemodel.h:53
Definition: aodemodel.h:30
Definition: aodesolver.h:28
virtual adoreMatrix< T > solve_with_output(AOdeModelWithOutput< T > *model, const adoreMatrix< double, 1, 0 > &time, const adoreMatrix< double, 0, 1 > &x0, adoreMatrix< double > &Y_out)=0
AOdeSolver()
Definition: aodesolver.h:30
virtual ~AOdeSolver()
Definition: aodesolver.h:33
virtual adoreMatrix< T > solve(AOdeModel< T > *model, const adoreMatrix< double, 1, 0 > &time, const adoreMatrix< double, 0, 1 > &x0)=0
x0
Definition: adore_set_goal.py:25
Definition: areaofeffectconverter.h:20