#[derive(Copy, Clone, Debug)]
pub struct ValidationParams {
delete_fraction: f64,
nbpass: usize,
symetric: bool,
centric: bool,
}
impl ValidationParams {
pub fn new(delete_fraction: f64, nbpass: usize, symetric: bool, centric: bool) -> Self {
ValidationParams {
delete_fraction,
nbpass,
symetric,
centric,
}
}
pub fn get_nbpass(&self) -> usize {
self.nbpass
}
pub fn get_delete_fraction(&self) -> f64 {
self.delete_fraction
}
pub fn is_symetric(&self) -> bool {
self.symetric
}
pub fn do_centric(&self) -> bool {
self.centric
}
}