code: public static void addEvidences(BayesianReasonerShanksAgent agent,
              HashMap<String, String> evidences) throws ShanksException {
          ShanksAgentBayesianReasoningCapability.addEvidences(
                  agent.getBayesianNetwork(), evidences);
      }
docs: Add a set of evidences to the Bayesian network to reason with it.
  
  @param agent
  @param evidences
  hashmap in format [nodeName, status] to set evidences in the
  bayesian network
  @throws ShanksException