code: public static HashMap<String, Float> getNodeStatesHypotheses(
              ProbabilisticNetwork bn, String nodeName) throws ShanksException {
          ProbabilisticNode node = ShanksAgentBayesianReasoningCapability
                  .getNode(bn, nodeName);
          HashMap<String, Float> result = new HashMap<String, Float>();
          int statesNum = node.getStatesSize();
          for (int i = 0; i < statesNum; i++) {
              String status = node.getStateAt(i);
              Float hypothesis = node.getMarginalAt(i);
              result.put(status, hypothesis);
          }
          return result;
      }
docs: To know the full status of a node
  
  @param bn
  @param nodeName
  @return hashmap in format [status, hypothesis]
  @throws ShanksException