Skip to content
Browse chapters
Imports

Fixed polynomial-time formatter for symmetric TSP pair fields

noncomputable sectionnamespace CLRS.Chapter34.Turing.TSPReduction.SymmetricWeightFieldsopen PolyBuildernoncomputable def computableInPolyTime : _root_.Turing.TM2ComputableInPolyTime id id stream := by change _root_.Turing.TM2ComputableInPolyTime id id (fun answers : List Bool => answers.flatMap body.emit) exact boundedLoop_computableInPolyTime bodyend CLRS.Chapter34.Turing.TSPReduction.SymmetricWeightFields