DefaultTimes.cpp
Go to the documentation of this file.
00001 
00002 #include <actasp/AspFluent.h>
00003 
00004 #include "DefaultTimes.h"
00005 
00006 #include <iostream>
00007 
00008 using namespace actasp;
00009 
00010 namespace bwi_krexec {
00011  
00012 double DefaultTimes::value(const AspFluent& action) {
00013   
00014   std::cerr << "invoked on " << action.getName() << std::endl;
00015   
00016   if(action.getName() == "approach")
00017     return -1;
00018   
00019   return 0.;
00020 }
00021 
00022   
00023 }


bwi_kr_execution
Author(s): Matteo Leonetti, Piyush Khandelwal
autogenerated on Fri Aug 28 2015 10:14:46