BaumslagGersten.h
Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef BAUMSLAGGERSTEN_H_
00018 #define BAUMSLAGGERSTEN_H_
00019 
00020 namespace BG
00021 {
00022 
00023 using namespace PC;
00024 
00041 struct BGMonomial
00042 {
00043         enum {BSat, b}  type;
00044         
00045         
00046                 Marking U, X, K;        
00047                 int             expb;           
00048         
00049 };
00050 
00051 bool solveWPinBG(PowerCircuit* pc, std::list<BGMonomial>& input);
00052 
00053 
00060 bool solveWPinBG(PowerCircuit* pc, std::string input);
00061 
00062 }
00063 
00064 #endif