parallel.h

Go to the documentation of this file.
00001 
00003 /* FAU Discrete Event Systems Library (libfaudes)
00004 
00005    Copyright (C) 2006  Bernd Opitz
00006    Exclusive copyright is granted to Klaus Schmidt
00007 
00008    This library is free software; you can redistribute it and/or
00009    modify it under the terms of the GNU Lesser General Public
00010    License as published by the Free Software Foundation; either
00011    version 2.1 of the License, or (at your option) any later version.
00012 
00013    This library is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016    Lesser General Public License for more details.
00017 
00018    You should have received a copy of the GNU Lesser General Public
00019    License along with this library; if not, write to the Free Software
00020    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
00021 
00022 
00023 #ifndef PARALLEL_H
00024 
00025 #include "agenerator.h"
00026 #include <stack>
00027 #include <map>
00028 #include <set>
00029 
00030 namespace faudes {
00031 
00032 
00053 void Parallel(const vGenerator& rGen1, const vGenerator& rGen2, vGenerator& rResGen);
00054 
00055 
00072 void Parallel(
00073     const vGenerator& rGen1, const vGenerator& rGen2,
00074     std::map< std::pair<Idx,Idx>, Idx>& rReverseCompositionMap, 
00075     vGenerator& rResGen);
00076 
00077 
00095 void SParallel(const vGenerator& rGen1, const vGenerator& rGen2, vGenerator& rResGen);
00096 
00097 
00114 void SParallel(
00115     const vGenerator& rGen1, const vGenerator& rGen2,
00116     std::map< std::pair<Idx,Idx>, Idx>& rReverseCompositionMap, 
00117     vGenerator& rResGen);
00118 
00132 void SetComposedStateNames(
00133     const vGenerator& rGen1, const vGenerator& rGen2,
00134     std::map< std::pair<Idx,Idx>, Idx>& rReverseCompositionMap, 
00135     vGenerator& rGen12);
00136 
00137 
00138 
00139 } // namespace faudes
00140 
00141 #define PARALLEL_H
00142 #endif 
00143 

Generated on Fri May 9 11:26:47 2008 for libFAUDES 2.09b by  doxygen 1.4.4