Example: Fano matroid
Profiles: OSCAR v1.2, OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7, OSCAR v1.8
Construct the Fano matroid.
Related Specification
Systems
Oscar.jl
Generate code (generate.jl) [ edit ]
using Oscar
obj = fano_matroid()
save("data.mrdi", obj)
Data outputs
Profiles: OSCAR v1.2, OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7
Data file: data.mrdi
{
"_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.7.0"]},
"_type": "Matroid",
"data": {
"matroid": {
"BASES": [
[1, 5, 6],
[2, 5, 6],
[3, 5, 6],
[4, 5, 6],
[0, 4, 6],
[2, 4, 6],
[3, 4, 6],
[0, 3, 6],
[1, 3, 6],
[0, 2, 6],
[1, 2, 6],
[0, 1, 6],
[0, 4, 5],
[1, 4, 5],
[3, 4, 5],
[0, 3, 5],
[2, 3, 5],
[0, 2, 5],
[1, 2, 5],
[0, 1, 5],
[1, 3, 4],
[2, 3, 4],
[0, 2, 4],
[1, 2, 4],
[0, 1, 4],
[0, 2, 3],
[1, 2, 3],
[0, 1, 3]
],
"_type": "matroid::Matroid",
"_ns": {"polymake": ["https://polymake.org", "4.15"]},
"N_ELEMENTS": 7
},
"groundset": ["1", "2", "3", "4", "5", "6", "7"],
"gs2num": {"5": "5", "4": "4", "6": "6", "7": "7", "2": "2", "3": "3", "1": "1"}
}
}
This serialized output is equivalent for these profiles up to UUID renaming and recorded namespace version strings.