1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{point_2d::Point2D, TspSolver};
use ndarray::Array1;
use std::path::Path;

pub struct Tsp2DSolver {
    wrapper: TspSolver<Point2D>,
}

impl Tsp2DSolver {
    pub fn new<P: AsRef<Path>>(dir: P, objects: Array1<Point2D>) -> Self {
        Self { wrapper: TspSolver::new(dir, objects) }
    }
}