pub trait TsplibProblem {
    // Required method
    fn read_tsplib(self, is_rounded: bool) -> Result<Problem, GenericError>;
}
Expand description

A trait to read tsplib95 problem. Please note that it is very basic implementation of the format specification.

Required Methods§

source

fn read_tsplib(self, is_rounded: bool) -> Result<Problem, GenericError>

Reads tsplib95 problem.

Implementations on Foreign Types§

source§

impl TsplibProblem for String

source§

fn read_tsplib(self, is_rounded: bool) -> Result<Problem, GenericError>

source§

impl<R: Read> TsplibProblem for BufReader<R>

source§

fn read_tsplib(self, is_rounded: bool) -> Result<Problem, GenericError>

Implementors§