Documentation

Complexity.Algorithms.WordRAM.FusionTree.ReadHeader

Reading a fusion-node header #

All eighteen words of an internal-node header are loaded by a fixed straight-line program. The constant offsets and their address additions are charged. Query-dependent array accesses are separate from this header load.

Main definitions #

Main results #

References #

@[reducible, inline]

Base address of the record, preserved.

Instances For
    @[reducible, inline]

    Constant-offset scratch.

    Instances For
      @[reducible, inline]

      Address scratch.

      Instances For

        Load header word i into register i+1.

        Instances For

          All eighteen header loads, with their constant offsets and address additions.

          Instances For

            Output state after the eighteen loaded words.

            Instances For

              All header words are read in 54 checked standard instructions, counting constants and address additions. The address bound implies that all constant offsets fit as well.

              The record base and memory are preserved, and each output register contains its header word.