00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013
00014
00015 #ifndef __CONFLCITDB__
00016 #define __CONFLICTDB__
00017
00018 #include <cstdlib>
00019 #include <list>
00020
00021 class BFIGConflict;
00022
00023 namespace Mers {
00024 namespace Generators {
00025 namespace BFIG {
00032 class BFIGConflictDB
00033 {
00034 public:
00035
00036
00037
00038
00039 BFIGConflictDB();
00040
00041 BFIGConflictDB(list<BFIGConflict const *> initialConflictSet);
00042
00043
00044
00045
00046
00047
00048 void addConflict(BFIGConflict const * newConflict);
00049
00050 list<BFIGConflict const *> getConflictSet();
00051
00052
00053 private:
00054
00055
00056
00057
00058 list<BFIGConflict const *> conflictSet;
00059
00060
00061
00062
00063
00064 void clearConflicts();
00065 void sortConflicts();
00066
00067 };
00068 }
00069 }
00070 }
00071
00072 #endif //ndef __CONFLICTDB__
00073