code: public static HashMap<String, HashMap<String, Float>> getAllHypotheses(
              ProbabilisticNetwork bn) throws ShanksException {
          List<Node> nodes = bn.getNodes();
          HashMap<String, HashMap<String, Float>> result = new HashMap<String, HashMap<String, Float>>();
          for (Node node : nodes) {
              String nodeName = node.getName();
              HashMap<String, Float> hypotheses = ShanksAgentBayesianReasoningCapability
                      .getNodeStatesHypotheses(bn, nodeName);
              result.put(nodeName, hypotheses);
          }
          return result;
      }
docs: To know all values of all nodes of the Bayesian network
  
  @param bn
  @return hashmap in format [node, [status, hypothesis]]
  @throws UnknownNodeException