liveBook · Manning

Path

A path is an ordered sequence of connected elements representing a route through a graph, structure, or space.

How 4 Manning books explain it

Grokking AI Algorithms, Second Edition

A path is an ordered sequence of steps or transitions leading from an initial situation toward a goal.

How it is used
Frames search as choosing among sequences of moves that lead from an initial situation toward a goal.
How deep it goes
Defines paths through nodes and edges, then shows parent links reconstructing a maze route during breadth-first search.
Examples
Uses maze routes, a nine-node tree path, city routes, and parent pointers in a BFS implementation.
What you can do after
Apply parent links from breadth-first search to reconstruct a route from a discovered goal back to its start.

Read how Grokking AI Algorithms, Second Edition explains path →

How Computers Make Books

A path is an ordered sequence of graphical segments that defines a connected outline or shape.

How it is used
Uses paths to assemble Bézier segments into letter outlines and boundaries for filled shapes.
How deep it goes
Explains endpoint continuity, smooth joins, gaps, fill rules, self-crossings, and path reversal without formal path-data syntax.
Examples
Illustrates paths through an ampersand with three curve chains, an O with inner and outer boundaries, and a self-crossing outline.
What you can do after
Evaluate/understand how joining, smoothing, orienting, and filling paths changes a rendered letter shape.

Read how How Computers Make Books explains path →

Learn Haskell by Example

A path is an ordered sequence of connected elements linking one element or state to another.

How it is used
Uses paths to model and search chains of valid transitions between a starting element and a destination.
How deep it goes
Explains nodes, edges, direction, equal costs, and shortest-path goals, but stops before specifying a complete search implementation.
Examples
Demonstrates paths through cat-to-dog and find-to-solution word ladders, including both longer and shorter alternatives.
What you can do after
Apply path modeling to represent transitions and frame shortest-route tasks across word, navigation, database, and network problems.

Read how Learn Haskell by Example explains path →

Grokking Data Structures

A path is a sequence of connected nodes in a graph from one vertex to another.

How it is used
Uses paths to describe traversal, ancestry, height, cycles, and structural relationships in graphs, trees, and heaps.
How deep it goes
Defines connected edge sequences and derives tree and heap properties, but stops short of implementation or traversal algorithms.
Examples
Traces animal follower edges, root-to-leaf tree routes such as 0→2→6→3, and sorted root-to-leaf heap paths.
What you can do after
Evaluate paths, cycles, ancestry, and tree or heap height in small graph-based examples.

Read how Grokking Data Structures explains path →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.