# Bayesian Decision-Making toolbox for C++

### 1

BDM is a collection of methods for selected tasks of Bayesian decision-making, such as estimation, filtering and control.

## Approach

The toolbox is designed using two design criteria:

- relation to mathematics,
- efficient evaluation, while the first one is more important than the latter.

Hence, each mathematical object such as probability density is represented by one software object. The resulting algorithms are then implemented as operations on these objects. In cases when more efficient solution can be achived when this structure is not respected, a parallel implementation is created and clearly marked as specific.

## Methods

At present we support the following methods:

- Estimation: ARX models
- Filtering: Kalman filtering, Extended Kalman filters (EKF), Particle filters (PF), Marginalized Particle filters (MPF).
- Desing: None.

## Implementation

BDM is build on top of `IT++` which wraps numerically efficient operations of linear algebra into easy to use C++ classes. Thanks to this excellent library, writing of numerical algorithms is as easy as in Matlab but we gain significant advantages:

- computational speed comparable to built-in Matlab function, and surpassing interpreted Matlab in order of magnitudes,
- native support for object-oriented programming,
- support for templates which is often more appropriate than object-oriented programming,
- cross-platform compatibility.