code: public static ProbabilisticNode getNode(ProbabilisticNetwork bn,
              String nodeName) throws ShanksException {
          ProbabilisticNode node = (ProbabilisticNode) bn.getNode(nodeName);
          if (node == null) {
              throw new UnknownNodeException(bn, nodeName);
          }
          return node;
      }
docs: Return the complete node
  
  @param bn
  @param nodeName
  @return the ProbabilisticNode object
  @throws UnknownNodeException