WordGarden.io

traversal

C2
Uncommon

Pronunciation

UK

    US

      Meanings

      Noun

      1. the act or process of crossing or moving through a place or obstacle

      2. in computing or mathematics, systematic visiting of the parts of a structure such as a tree or graph

      Beyond the definition

      A traversal is the act of moving across or through something in a planned or orderly way. It is more than just going somewhere; it suggests following a path step by step. Think of a hiker making a careful trip across a mountain range, moving over each ridge and valley.

      In computer science, traversal means visiting each node in a structure such as a tree or graph in a set order. Outside tech, the word is also used for crossing land, water, tunnels, or other spaces. In every case, the idea is the same: moving through something with purpose rather than by chance.

      Examples

      1. 1

        Glacier crossing

        The team completed the glacier traversal just before the weather changed.

      2. 2

        Gorge crossing

        Heavy rain made the traversal of the gorge too dangerous.

        • Patternthe traversal of + place

          going across or through it

      3. 3

        Pipe inspection

        The inspection camera records video during traversal of the pipe.

        • Usage

          during traversal is common in technical writing

      4. 4

        Data structures

        Depth-first traversal lets the program visit every node in the tree efficiently.

        • Domaindepth-first traversal

          a way for a program to move through all parts of a data structure

      See also

      Similar

      Shades of meaning

      Contrast

      Used with (collocations)

      • terrain traversal
      • graph traversal
      • tree traversal
      • path traversal

      Word family

      Explore

      Forms and spellings

      1 form open this card.

      Main spelling

      • traversalnoun