Neblux

Neblux Knowledge Graph

Recursion

Recursion is the specification or computation of an entity in terms of other instances of the same structure.

Type: Concept Domain: Mathematics Technology

Overview

Inductive definitions commonly give base cases and recursive clauses. In computation, recursion can be direct or pass through other functions. A common termination proof gives every recursive call a smaller nonnegative-integer measure and shows that base cases finish; this is a sufficient method, not the definition of recursion.

Why it matters

Recursive traversal can process trees and graphs. A general graph may contain cycles; depth-first search can mark visited vertices to avoid repeatedly following them. Recursive grammatical rules can also model nested sentences. These are different applications of recursive structure, not evidence that every graph is hierarchical.

What it builds on

Related concepts

Appears in Wonders

Open this concept in the interactive graph →
EN中日