|
|
@ -1,5 +1,7 @@ |
|
|
|
use std::collections::BTreeSet; |
|
|
|
use std::collections::BTreeSet; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use ndarray::Array2; |
|
|
|
|
|
|
|
|
|
|
|
use crate::{ |
|
|
|
use crate::{ |
|
|
|
params::{Params, StateType}, |
|
|
|
params::{Params, StateType}, |
|
|
|
process, |
|
|
|
process, |
|
|
@ -111,4 +113,7 @@ impl NetworkProcess for CtmpProcess { |
|
|
|
None => panic!("Uninitialized CtmpProcess"), |
|
|
|
None => panic!("Uninitialized CtmpProcess"), |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
fn get_adj_matrix(&self) -> Option<Array2<u16>> { |
|
|
|
|
|
|
|
unimplemented!("CtmpProcess has only one node") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|