Macaulay2 » Documentation
Packages » CodingTheory > LinearCode > weight > minimumWeight > chooseStrat
next | previous | forward | backward | up | index | toc

chooseStrat -- Estimate the optimal strategy to compute the minimum weight of a linear code.

Synopsis

Description

This function returns the name of the strategy that would be automatically chosen by function minimumWeight if no value of the optional argument Strat is specified.

i1 : chooseStrat(hammingCode(2,3))

o1 = OneInfoSet
i2 : F = GF(16);
i3 : chooseStrat(linearCode random(F^5, F^10))

o3 = MatroidPartition

See also

Ways to use chooseStrat :

For the programmer

The object chooseStrat is a method function.