src
model
discretesystemmodel.cpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2002 Klaas Gadeyne <first dot last at gmail dot com>
3
//
4
// This program is free software; you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as published by
6
// the Free Software Foundation; either version 2.1 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU Lesser General Public License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public License
15
// along with this program; if not, write to the Free Software
16
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
//
18
#include "
discretesystemmodel.h
"
19
20
namespace
BFL
21
{
22
23
DiscreteSystemModel::DiscreteSystemModel
(
DiscreteConditionalPdf
* systempdf) :
24
SystemModel
<int>((
ConditionalPdf
<int, int> *) systempdf){}
25
26
DiscreteSystemModel::~DiscreteSystemModel
(){}
27
28
DiscreteSystemModel::DiscreteSystemModel
(
const
DiscreteSystemModel
& model) :
29
SystemModel
<int>(model){}
30
31
unsigned
int
DiscreteSystemModel::NumStatesGet
()
const
32
{
33
return
( (
DiscreteConditionalPdf
*)
_SystemPdf
)->NumStatesGet();
34
}
35
36
}
discretesystemmodel.h
BFL::SystemModel< int >::_SystemPdf
ConditionalPdf< int, int > * _SystemPdf
ConditionalPdf representing .
Definition:
systemmodel.h:59
BFL
Definition:
compare_filters/nonlinearanalyticconditionalgaussianmobile.cpp:24
BFL::DiscreteSystemModel::~DiscreteSystemModel
virtual ~DiscreteSystemModel()
Destructor.
Definition:
discretesystemmodel.cpp:26
BFL::ConditionalPdf
Abstract Class representing conditional Pdfs P(x | ...)
Definition:
conditionalpdf.h:49
BFL::DiscreteSystemModel::NumStatesGet
unsigned int NumStatesGet() const
Get the number of discrete states.
Definition:
discretesystemmodel.cpp:31
BFL::DiscreteConditionalPdf
Abstract Class representing all FULLY Discrete Conditional PDF's.
Definition:
discreteconditionalpdf.h:53
BFL::DiscreteSystemModel::DiscreteSystemModel
DiscreteSystemModel(DiscreteConditionalPdf *systempdf=NULL)
Constructor.
Definition:
discretesystemmodel.cpp:23
BFL::DiscreteSystemModel
Class for discrete System Models.
Definition:
discretesystemmodel.h:30
BFL::SystemModel
Definition:
systemmodel.h:48
bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Mon Feb 28 2022 21:56:33