code: public static void addSoftEvidence(BayesianReasonerShanksAgent agent,
              String nodeName, HashMap<String, Double> softEvidence)
              throws ShanksException {
          ShanksAgentBayesianReasoningCapability.addSoftEvidence(
                  agent.getBayesianNetwork(), nodeName, softEvidence);
      }
docs: Add soft-evidence to the Bayesian network to reason with it.
  
  @param agent
  @param nodeName
  @param softEvidence
  @throws ShanksException