Function tuple_to_vector

Source
pub fn tuple_to_vector(
    tuple_str: &str,
    is_unary: bool,
) -> Result<Vec<Vec<i32>>, Xcsp3Error>
Expand description

return the tuples by given string, eg (0,0,1)(0,1,0)(1,0,0)(1,1,1) -> [[0,0,1],[0,1,0],[1,0,0],[1,1,1]]