Struct tsplib::Instance [] [src]

pub struct Instance {
    pub name: String,
    pub type_: Option<Type>,
    pub comment: Vec<String>,
    pub dimension: usize,
    pub capacity: usize,
    pub edge_data: Option<EdgeData>,
    pub edge_weight: Option<EdgeWeight>,
    pub edge_weight_type: Option<EdgeWeightType>,
    pub fixed_edges: Option<Vec<(usize, usize)>>,
    pub node_coord: Option<NodeCoord>,
    pub display_data: Option<Vec<(usize, f64, f64)>>,
    pub display_data_type: Option<DisplayDataType>,
    pub tour: Option<Vec<usize>>,
}

An TSPLIB instance.

Fields

Trait Implementations

impl Default for Instance
[src]

Returns the "default value" for a type. Read more

impl Debug for Instance
[src]

Formats the value using the given formatter.