code: public static void addEvidences(Network bn, Map<String, String> evidences)
              throws ShanksException {
          if (bn == null || evidences.isEmpty()) {
              throw new ShanksException("Null parameter in addEvidences method.");
          }
          for (Entry<String, String> evidence : evidences.entrySet()) {
              ShanksAgentBayesianReasoningCapability.addEvidence(bn,
                      evidence.getKey(), evidence.getValue());
          }
      }
docs: Add a set of evidences to the Bayesian network to reason with it.
  
  @param bn
  @param evidences
  map in format [nodeName, status] to set evidences in the
  bayesian network
  @throws ShanksException