11 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
24 virtual DiscreteSystem*
clone()
const {
throw std::runtime_error(
"DiscreteSystem: clone() not implemented"); };
ControlVector< CONTROL_DIM, SCALAR > control_vector_t
Definition: DiscreteSystem.h:17
StateVector< STATE_DIM, SCALAR > state_vector_t
Definition: DiscreteSystem.h:16
virtual void propagateDynamics(const StateVector< STATE_DIM, SCALAR > &state, const time_t n, StateVector< STATE_DIM, SCALAR > &stateNext)=0
propagates the system dynamics forward by one step
Definition: ControlVector.h:12
virtual DiscreteSystem * clone() const
deep copy
Definition: DiscreteSystem.h:24
constexpr size_t n
Definition: MatrixInversionTest.cpp:14
Definition: StateVector.h:12
virtual ~DiscreteSystem()
desctructor
Definition: DiscreteSystem.h:22
SYSTEM_TYPE type_
type of system
Definition: DiscreteSystem.h:42
SYSTEM_TYPE
type of system
Definition: System.h:15
SYSTEM_TYPE getType() const
get the type of system
Definition: DiscreteSystem.h:40
DiscreteSystem(const SYSTEM_TYPE &type=GENERAL)
constructor
Definition: DiscreteSystem.h:20
any non-specific system
Definition: System.h:17
Definition: DiscreteSystem.h:12
int time_t
the type of the time variable
Definition: DiscreteSystem.h:15