Skip to main content

variant_to_map

Function variant_to_map 

Source
pub fn variant_to_map(variant: Vec<(&str, &str)>) -> BTreeMap<String, String>
Expand description

Convert Problem::variant() output to a stable BTreeMap.

Normalizes empty "graph" values to "SimpleGraph" for consistency with the reduction graph convention.