Added `get_adj_matrix()` #91

Merged
meliurwen merged 3 commits from 90-feature-method-to-get-the-adjacency-matrix into dev 2 years ago
  1. 4
      reCTBN/src/process/ctbn.rs

@ -138,6 +138,10 @@ impl CtbnNetwork {
return array_state;
}
/// Get the Adjacency Matrix.
pub fn get_adj_matrix(&self) -> Option<&Array2<u16>> {
self.adj_matrix.as_ref()
}
}
impl process::NetworkProcess for CtbnNetwork {

Loading…
Cancel
Save