mcdm::validation

Trait VectorValidate

Source
pub trait VectorValidate {
    // Required method
    fn is_expected_solution_point_in_bounds(
        &self,
        bounds: &DMatrix<f64>,
    ) -> Result<(), ValidationError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl VectorValidate for DVector<f64>

Source§

fn is_expected_solution_point_in_bounds( &self, bounds: &DMatrix<f64>, ) -> Result<(), ValidationError>

Validates the expected solution point value lie within the specified bounds for each criterion.

§Arguments
  • bounds - 2D matrix of the bounds for each criterion. The shape should be $(n, 2)$ where $n$ is the number of criteria. Each row defines the minimum and maximum values for a criterion and must be in the form $[min, max]$.

Implementors§