spot  0.8.2
explicitstateconjunction.hh
Go to the documentation of this file.
00001 // Copyright (C) 2009 Laboratoire de Recherche et Développement
00002 // de l'Epita (LRDE).
00003 //
00004 // This file is part of Spot, a model checking library.
00005 //
00006 // Spot is free software; you can redistribute it and/or modify it
00007 // under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 2 of the License, or
00009 // (at your option) any later version.
00010 //
00011 // Spot is distributed in the hope that it will be useful, but WITHOUT
00012 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00013 // or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
00014 // License for more details.
00015 //
00016 // You should have received a copy of the GNU General Public License
00017 // along with Spot; see the file COPYING.  If not, write to the Free
00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00019 // 02111-1307, USA.
00020 
00021 #ifndef SPOT_SABA_EXPLICITSTATECONJUNCTION_HH
00022 # define SPOT_SABA_EXPLICITSTATECONJUNCTION_HH
00023 
00024 #include <misc/hash.hh>
00025 #include "sabasucciter.hh"
00026 
00027 namespace spot
00028 {
00034   class explicit_state_conjunction : public saba_state_conjunction
00035   {
00036   public:
00037 
00038     explicit_state_conjunction();
00039     explicit_state_conjunction(const explicit_state_conjunction* other);
00040     virtual ~explicit_state_conjunction();
00041 
00042     explicit_state_conjunction* operator=(const explicit_state_conjunction& o);
00043 
00045 
00046 
00047     virtual void first();
00048     virtual void next();
00049     virtual bool done() const;
00050 
00052 
00054 
00055 
00057     explicit_state_conjunction* clone() const;
00058 
00061     virtual saba_state* current_state() const;
00062 
00064 
00067     void add(saba_state* state);
00068   private:
00069     typedef Sgi::hash_set<shared_saba_state,
00070                           spot::saba_state_shared_ptr_hash,
00071                           spot::saba_state_shared_ptr_equal> saba_state_set_t;
00072     saba_state_set_t set_;
00073     saba_state_set_t::iterator it_;
00074   };
00075 } // end namespace spot.
00076 
00077 
00078 #endif  // SPOT_SABA_EXPLICITSTATECONJUNCTION_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Thu Jan 19 2012 19:33:03 for spot by doxygen 1.7.6.1