diff --git a/reCTBN/src/process/ctbn.rs b/reCTBN/src/process/ctbn.rs index 162345e..d93400d 100644 --- a/reCTBN/src/process/ctbn.rs +++ b/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> { + self.adj_matrix.as_ref() + } } impl process::NetworkProcess for CtbnNetwork {