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.

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:

  • chooseStrat(LinearCode)

For the programmer

The object chooseStrat is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/CodingTheory.m2:3630:0.