include/CompletionSuit.hpp

Go to the documentation of this file.
00001 // CompletionSuit.hpp: this file is part of the REGAL project.
00002 //
00003 // REGAL : Random and Exhaustive Generators for Automata - Library
00004 //
00005 // Copyright (C) 2007 Julien DAVID.
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 //
00012 // The complete GNU General Public Licence Notice can be found as the
00013 // `COPYING' file in the root directory.
00014 //
00015 //
00016 #ifndef COMPLETIONSUIT
00017 #define COMPLETIONSUIT
00018 
00019 
00020 #include "AbstractSuit.hpp"
00021 #include "CatalanSuit.hpp"
00022 
00023 namespace regal{
00024   
00025   class CompletionSuit: public AbstractSuit{
00026   private:
00027     int modifiedPosition;
00028     CatalanSuit * catalanSuit; 
00029   public:
00030     
00031     
00032     int * first();
00033     int * next();
00034     
00035     int getModifiedPosition(){return modifiedPosition;}
00036     
00041     CompletionSuit(CatalanSuit * cs):AbstractSuit::AbstractSuit(cs->getSize()){
00042       catalanSuit=cs;
00043       modifiedPosition=0;
00044       verbose("Creation of a CompletionSuit");
00045     }
00046     
00050     virtual ~CompletionSuit(){
00051       verbose("Destruction of a CompletionSuit");
00052     }
00053   };
00054 
00055 }
00056 
00057 
00058 #endif

Generated on Mon Sep 29 16:33:58 2008 for REGAL by  doxygen 1.5.1