return false; }
if ( _logger.isDetailEnabled() ) _logger.detail("Found late arriving trigger.");  if( ! shouldAddLateArrivingTrigger( trigger )) { return false; }  if ( _logger.isDetailEnabled() ) _logger.detail("Decided to add late arriving trigger.");  }
    boolean add( BeliefUpdateTrigger trigger )    {        // Method implementation comments go here ...        // I am pretty sure having an inequality here is better.  I        // originally had "<=", which caused some problems for        // simultaneous actions/diagnosis.  Anyway, if you are        // debugging a problem and happen to look here, this might be        // useful information for you.        //        if (( _last_computed_belief != null )            && ( trigger.getTriggerTimestamp()                  < _last_computed_belief.getTimestamp() ))        {            return false;        }        // This will simply append it, though we will sort it by        // timestamp later.        //        _current_triggers.add( trigger );                // BelievabilityDiagnosis objects require some special        // handling as far as ensuring that our data structures stay        // current.        //        if ( trigger instanceof BelievabilityDiagnosis )        {            BelievabilityDiagnosis diag =                    (BelievabilityDiagnosis) trigger;            // Must track the last explicit diagnosis for sensors in            // case we find that we need to add implicit diagnoses for            // them.            //            _last_explicit_diagnosis.put( diag.getSensorName(),                                          trigger );            // An explict diagnosis should clear out the last implict            // diagosis if there was any.            //            _last_implicit_diagnosis_time.remove( diag.getSensorName() );            // Also need to track all the sensor names, so that we can            // handle the case of having received diagnoses from all            // sensors before the sensor latency window alarm expires.            //            _current_sensors.add( diag.getSensorName() );        } // If this is a diagnosis trigger        return true;    } // method add