00001 // $Id$ 00002 // Copyright (C) 2002 Klaas Gadeyne <first dot last at gmail dot com> 00003 // 00004 // This program is free software; you can redistribute it and/or modify 00005 // it under the terms of the GNU Lesser General Public License as published by 00006 // the Free Software Foundation; either version 2.1 of the License, or 00007 // (at your option) any later version. 00008 // 00009 // This program is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 // GNU Lesser General Public License for more details. 00013 // 00014 // You should have received a copy of the GNU Lesser General Public License 00015 // along with this program; if not, write to the Free Software 00016 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 // 00018 #include "discretesystemmodel.h" 00019 00020 namespace BFL 00021 { 00022 00023 DiscreteSystemModel::DiscreteSystemModel(DiscreteConditionalPdf * systempdf) : 00024 SystemModel<int>((ConditionalPdf<int, int> *) systempdf){} 00025 00026 DiscreteSystemModel::~DiscreteSystemModel(){} 00027 00028 DiscreteSystemModel::DiscreteSystemModel(const DiscreteSystemModel & model) : 00029 SystemModel<int>(model){} 00030 00031 unsigned int DiscreteSystemModel::NumStatesGet()const 00032 { 00033 return ( (DiscreteConditionalPdf*)_SystemPdf )->NumStatesGet(); 00034 } 00035 00036 }