Bottom-up node-processing loop (processNodesProg) #
This module certifies processNodesProg, which visits all nonroot decomposition nodes
numNodes, numNodes - 1, …, 1 in reverse index order, allocates the 2 ^ |LP|-word scratch
array best, runs childPassProg and parentPassProg, preserves NodeLayout, maintains the
telescoping entry bound prefixMaxSum tblList k ≤ (numNodes - k) * maxBagLen * maxWeight, and
agrees pointwise with tablesInst.
Main definitions #
Cslib.Algorithms.WordRAM.TreeDecomposition.ProcessNodesArgs: register arguments forprocessNodesProg.Cslib.Algorithms.WordRAM.TreeDecomposition.processNodesProg: reverse-index bottom-up DP loop.
Main results #
Cslib.Algorithms.WordRAM.TreeDecomposition.processNodesProg_spec: layout preservation, telescoping table-entry bound, pointwise agreement withtablesInst, and cost bound.Cslib.Algorithms.WordRAM.TreeDecomposition.processNodesProg_realizes: exact-basis Word-RAM realization certificate.
Register arguments for processNodesProg.
- numVerts : ℕ
Number of graph vertices
m. - adjPtr : ℕ
Base memory address of the
m × madjacency matrix. - wtPtr : ℕ
Base memory address of the
m-word weight array. - parPtr : ℕ
Base memory address of the
(numNodes + 1)-word parent array. - descBase : ℕ
Base memory address of the
4 * (numNodes + 1)-word node descriptor block. - numNodes : ℕ
Number
nof nonroot nodes (1 .. n).
Instances For
Process all args.numNodes nonroot nodes n, n - 1, …, 1 bottom-up.
Layout preservation, telescoping table-entry bound, agreement with tablesInst, and cost bound
for processNodesProg.
Exact-basis Word-RAM realization certificate for processNodesProg.