pub trait ResMethod {
// Required methods
fn update_res(
&mut self,
state: &mut TrainState,
path_tpc: &PathTpc,
dir: &Dir,
) -> Result<()>;
fn fix_cache(&mut self, link_point_del: &LinkPoint);
}pub trait ResMethod {
// Required methods
fn update_res(
&mut self,
state: &mut TrainState,
path_tpc: &PathTpc,
dir: &Dir,
) -> Result<()>;
fn fix_cache(&mut self, link_point_del: &LinkPoint);
}