Article · Wikipedia archive · Last revised Jun 8, 2026

Trellis (graph)

A trellis is a graph whose nodes are ordered into vertical slices (time) with every node at almost every time connected to at least one node at an earlier and at least one node at a later time. The earliest and latest times in the trellis have only one node.

Last revised
Jun 8, 2026
Read time
≈ 1 min
Length
132 w
Citations
1
Source
Convolutional code trellis diagram source ↗

A trellis is a graph whose nodes are ordered into vertical slices (time) with every node at almost every time connected to at least one node at an earlier and at least one node at a later time. The earliest and latest times in the trellis have only one node (hence the "almost" in the preceding sentence).

Trellises are used in encoders and decoders for communication theory and encryption. They are also the central datatype used in Baum–Welch algorithm or the Viterbi Algorithm1 for Hidden Markov Models.

The trellis graph is named for its similar appearance to an architectural trellis.

References

References

  1. Ryan, M. S., & Nudd, G. R. (1993). The viterbi algorithm. University of Warwick, Department of Computer Science.
See also

See also