encyclopegia.org

Deterministic algorithm

In computer science, a deterministic algorithm is an algorithm that, given a particular input, will always produce the same output, with the underlying machine always passing through the same sequence of states. Deterministic algorithms are by far the most studied and familiar kind of algorithm, as well as one of the most practical, since they can be run on real machines efficiently. Formally, a deterministic algorithm computes a mathematical function; a function has a unique value for any input in its domain, and the algorithm is a process that produces this particular value as output.

In computer science, a deterministic algorithm is an algorithm that, given a particular input, will always produce the same output, with the underlying machine always passing through the same sequence of states. Deterministic algorithms are by far the most studied and familiar kind of algorithm, as well as one of the most practical, since they can be run on real machines efficiently. Formally, a deterministic algorithm computes a mathematical function; a function has a unique value for any input in its domain, and the algorithm is a process that produces this particular value as output. Note that a negative answer to the P=NP problem would not imply that programs with nondeterministic output are theoretically more powerful than those with deterministic output. The complexity class NP (complexity) can be defined without any reference to nondeterminism using the verifier-based definition.

References

No reference rows published for this article.

Cite this article

MLA

"Deterministic algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/deterministic-algorithm. Accessed 23 November 2026.

Chicago

"Deterministic algorithm." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/deterministic-algorithm.

APA

encyclopegia.org. (2026). Deterministic algorithm. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/deterministic-algorithm

Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Colin Campbell, 6th Earl of Argyll

enwiki · references available

Santos Benavides

enwiki · references available

Ironworkers Memorial Second Narrows Crossing

enwiki · references available

Adams Morgan

enwiki · references available

USS Chauncey (DD-3)

enwiki · references available

Second Narrows Rail Bridge

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375967411 · 0.5 · snapshot enwiki-001375967411

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.