00001 #include "BeliefValuePairPoolSet.h" 00002 #include <exception> 00003 using namespace std; 00004 00005 00006 REAL_VALUE BeliefValuePairPoolSet::getValue(SharedPointer<BeliefWithState>& bns) 00007 { 00008 state_val sval = bns->sval; 00009 double bestVal; 00010 00011 bestVal = set[sval]->getValue(bns->bvec); 00012 00013 return bestVal; 00014 00015 }