code: public static float getHypothesis(ProbabilisticNetwork bn, String nodeName,
              String status) throws ShanksException {
          ProbabilisticNode node = ShanksAgentBayesianReasoningCapability
                  .getNode(bn, nodeName);
          int states = node.getStatesSize();
          for (int i = 0; i < states; i++) {
              if (status.equals(node.getStateAt(i))) {
                  return node.getMarginalAt(i);
              }
          }
          throw new UnknowkNodeStateException(bn, nodeName, status);
      }
docs: Get the value of a status in a node
  
  @param bn
  @param nodeName
  @param status
  @return a float with the probability
  @throws UnknownNodeException
  @throws UnknowkNodeStateException