Trait vrp_core::solver::SolutionWeightsSolutionState
source · pub trait SolutionWeightsSolutionState {
// Required methods
fn get_solution_weights(&self) -> Option<&Vec<f64>>;
fn set_solution_weights(&mut self, value: Vec<f64>) -> &mut Self;
}Expand description
Extends SolutionState within a new SolutionWeightsSolutionState.
Required Methods§
sourcefn get_solution_weights(&self) -> Option<&Vec<f64>>
fn get_solution_weights(&self) -> Option<&Vec<f64>>
Gets SolutionWeights property.
sourcefn set_solution_weights(&mut self, value: Vec<f64>) -> &mut Self
fn set_solution_weights(&mut self, value: Vec<f64>) -> &mut Self
Sets SolutionWeights property.
Object Safety§
This trait is not object safe.