00001 #ifndef bwi_kr_execution_msgs_utils_h__guard 00002 #define bwi_kr_execution_msgs_utils_h__guard 00003 00004 #include "bwi_kr_execution/AspFluent.h" 00005 #include "bwi_kr_execution/AspRule.h" 00006 #include "bwi_kr_execution/AnswerSet.h" 00007 00008 #include "actasp/AspFluent.h" 00009 #include "actasp/AspRule.h" 00010 #include "actasp/AnswerSet.h" 00011 00012 namespace bwi_krexec { 00013 00014 struct TranslateFluent { 00015 00016 actasp::AspFluent operator()(const bwi_kr_execution::AspFluent& bwiFluent); 00017 bwi_kr_execution::AspFluent operator()(const actasp::AspFluent& actaspFluent); 00018 }; 00019 00020 struct TranslateRule { 00021 actasp::AspRule operator()(const bwi_kr_execution::AspRule& bwiRule); 00022 bwi_kr_execution::AspRule operator()(const actasp::AspRule& actaspRule); 00023 00024 }; 00025 00026 struct TranslateAnswerSet { 00027 actasp::AnswerSet operator()(const bwi_kr_execution::AnswerSet& bwiAnswerSet); 00028 bwi_kr_execution::AnswerSet operator()(const actasp::AnswerSet& actaspAnswerSet); 00029 00030 }; 00031 00032 } 00033 00034 00035 #endif