logDebug("Believability exception in consumeBelievabilityDiagnosis :" + be.getMessage()); throw new BelievabilityException ("BeliefStateWindow.consumeBelievabilityDiagnosis", be.getMessage());
logDebug("Believability exception in consumeBeliefUpdateTrigger :" + be.getMessage()); throw new BelievabilityException ("BeliefStateWindow.consumeBeliefUpdateTrigger", be.getMessage());
     public void consumeBeliefUpdateTrigger (BeliefUpdateTrigger bb_diagnosis) throws BelievabilityException{      try {          //temporary--remove this           //this.publishBeliefState(_apriori_state);                    BeliefState current_belief_state = null;                    //Pass the BelievabilityDiagnosis to POMDPModelInterface          // FIXME: This is the old line:          //          //   current_belief_state = _pmdp_mi.updateBeliefState(_apriori_state,bb_diagnosis);          //          // This is the new one I *think* should be more correct:          //          current_belief_state = _pmdp_mi.updateBeliefState                  (getUnupdatedBeliefState(System.currentTimeMillis()),                   bb_diagnosis);          //insert current belief state to believability queue          insertBeliefState(current_belief_state, bb_diagnosis);                    //remove the oldest belief state & publish current belief state          if (_bst_queue.size() != _diag_queue.size()) {           throw new BelievabilityException ("BeliefStateWindow.consumeBelievabilityDiagnosis","Diagnosis:BeliefState coordianation mismatched");          }          if (_bst_queue.size() > 1){               _bst_queue.removeFirst();               _diag_queue.removeFirst();          }          this.publishBeliefState(current_belief_state);      } catch (BelievabilityException be){          logDebug("Believability exception in consumeBelievabilityDiagnosis :" + be.getMessage());          throw new BelievabilityException ("BeliefStateWindow.consumeBelievabilityDiagnosis", be.getMessage());         } catch (Exception e){          logDebug("General Error in consumeBelievabilityDiagnosis :" + e.getMessage());          throw new BelievabilityException ("BeliefStateWindow.consumeBelievabilityDiagnosis", e.getMessage());      }     }    