public FactorGraph readBnAsFg ( File networkFile , File cpdFile ) throws IOException { return readBnAsFg ( new FileInputStream ( networkFile ) , new FileInputStream ( cpdFile ) ) ; }
Reads a Bayesian Network from a network file and a CPD file and returns a factor graph representation of it .