Function tsplib::parse [] [src]

pub fn parse<R: BufRead>(reader: R) -> Result<Instance>

Read a TSPLIB instance from reader.

Errors

This function will return an error if an IO error occurs or if the file cannot be parsed.