* @return Determines if the evidence events have values that satisfy the
* needed case. This is used for sampling.
*/
protected boolean isNeededEvidence() {
for(BayesianEvent evidenceEvent: this.evidenceEvents) {
EventState state = getEventState(evidenceEvent);
if(!state.isSatisfied() ) {
return false;
}
}
return true;
}