code: public static Network loadNetwork(String networkPath)
              throws ShanksException {
          Network net = new Network();
          net.readFile(networkPath);
          net.setBayesianAlgorithm(BayesianAlgorithmType.Lauritzen);
          net.updateBeliefs();
          return net;
      }
docs: Load a Bayesian network and return the probabilistic network object
  
  @param networkPath
  @return
  @throws ShanksException