public static void loadNetwork ( BayesianReasonerShanksAgent agent ) throws ShanksException { Network bn = ShanksAgentBayesianReasoningCapability . loadNetwork ( agent . getBayesianNetworkFilePath ( ) ) ; agent . setBayesianNetwork ( bn ) ; }
Load the Bayesian network of the agent