fn parse_file(file_path: &str) -> Result<FactorGraph, String> {
        match Self::parse_file_to_model(file_path) {
            Ok(model) => Ok(model.into()),
            Err(s) => Err(s),
        }
    }
/// Tries to parse a file at the given path to the internal factor graph representation.
Tries to parse a file at the given path to the internal factor graph representation.
Tries to parse a file at the given path to the internal factor graph representation .
fn parse_file(file_path: &str) -> Result<FactorGraph, String> {
        match Self::parse_file_to_model(file_path) {
            Ok(model) => Ok(model.into()),
            Err(s) => Err(s),
        }
    }
fn parse_file ( file_path : & str ) -> Result < FactorGraph , String > { match Self :: parse_file_to_model ( file_path ) { Ok ( model ) => Ok ( model . into ( ) ) , Err ( s ) => Err ( s ) , } }
Tries to parse a file at the given path to the internal factor graph representation.
Tries to parse a file at the given path to the internal factor graph representation .
file_path
&str