Skip to main content

compare_kinematics

Function compare_kinematics 

Source
pub fn compare_kinematics(
    task: &Task,
    machines: &[(&MachineEntry, Config)],
    supplies: &dyn Fn(&Config) -> Vec<&'static str>,
    wanted: &dyn Fn(&str) -> bool,
    options: &Options<'_>,
    by: &[(Criterion, f64)],
) -> Vec<KinematicsRow>
Expand description

Runs a task on each machine (with its config): maps it (task_config), runs the catalogue search on it at its supplies (supplies gives them per config, e.g. the config’s own), ranked by by (rank_by), and reports per machine the best combination.