GLOBAL KNOWLEDGE ARK

Reference library

Foundations

Explore concepts, laws, equations and methods, with clear explanations of their use and sources. Choose an area of study or find a specific entry.

More filters

Reference entries

Showing 31–60 of 204 reference entries

InformationComparison sorting lower bound

Distinct-key comparisons need enough branches to distinguish orders.

Mathematical statement
InformationBreadth-first and depth-first traversal

Graph searches visit reachable vertices using different orders.

Method
InformationShortest-path algorithm conditions

Edge weights determine which shortest-path method applies.

Method
InformationTuring machines and effective computation

Finite instructions can act on an unbounded writable tape.

Definition
InformationRelations and tabular data

A relation is a set of tuples from declared domains.

Definition
Physics · InformationGibbs entropy

Microstate probabilities quantify statistical entropy.

Definition
Physics · InformationPure and mixed density operators

A density operator represents quantum statistical states.

Definition
Physics · InformationComposite states and entanglement

A joint pure state can fail to factor into subsystem states.

Definition
Measurement · InformationMonte Carlo uncertainty propagation

Sample the joint input model to approximate the output distribution.

Method
InformationHash tables with chaining

A hash table maps keys to buckets and stores colliding keys in a chain.

Method
InformationAVL search trees and rotations

An AVL binary search tree maintains subtree heights differing by at most one at every node.

Method
InformationBinary heaps and priority queues

A binary max heap stores a complete binary tree in an array with every parent key at least its children's keys.

Method
InformationHeapsort

Build a max heap, exchange its root with the last active element, shrink the active heap and restore heap order; repeat.

Method
InformationDynamic programming and subproblem reuse

Dynamic programming states subproblems and recurrences, checks an acyclic dependency order and base cases, and evaluates each needed subproblem once by memoization or bottom-up order.

Method
InformationSubset-sum dynamic programming and input length

For positive integers a₁,…,aₙ and target T≥0, D(i,t)=D(i−1,t) or [t≥aᵢ and D(i−1,t−aᵢ)], with D(0,0)=true and other initial states false.

Method
InformationBellman–Ford and negative cycles

Initialize d(s)=0 and other distances to infinity, then relax every directed edge for |V|−1 rounds.

Method
InformationDeterministic finite automata

A DFA consists of finite states Q, finite alphabet Σ, total transition δ:Q×Σ→Q, start q₀ and accepting states F.

Definition
InformationRegular expressions and NFA equivalence

Regular expressions built from letters, the empty word and empty language using union, concatenation and star describe exactly the DFA/NFA-recognizable languages.

Mathematical statement
InformationContext-free grammars

A context-free grammar has finite variables, terminal alphabet, rules A→w with one variable on the left, and a start variable.

Definition
InformationPushdown automata and context-free languages

A nondeterministic pushdown automaton augments finite control with one unbounded last-in-first-out stack.

Mathematical statement
InformationRecognizability versus decidability

A recognizer accepts every member of its language but may run forever on a nonmember.

Definition
InformationRice's theorem for language properties

Every nontrivial property of the language recognized by a Turing machine is undecidable from its machine description.

Mathematical statement
InformationConditional entropy and entropy chain rule

For finite X,Y, H(X|Y)=Σy p(y)H(X|Y=y) and H(X,Y)=H(Y)+H(X|Y).

Mathematical statement
InformationRelative entropy

For finite distributions p,q, D(p‖q)=Σx p(x)log₂[p(x)/q(x)]≥0, with equality exactly when p=q.

Definition
InformationData-processing inequality

If finite X→Y→Z form a Markov chain, meaning Z is conditionally independent of X given Y, then I(X;Z)≤I(X;Y).

Mathematical statement
InformationPrefix codes and Kraft–McMillan inequality

A binary prefix code has no whole codeword as another's initial segment, permitting immediate sequential decoding.

Mathematical statement
InformationHuffman code construction

Repeatedly merge the two least-probable source symbols or accumulated nodes, then label the two branches 0 and 1; root-to-leaf labels are codewords.

Method
InformationAsymptotic equipartition for iid symbols

For iid finite-alphabet X₁,…,Xₙ, −n⁻¹log₂p(X₁,…,Xₙ) converges in probability to H(X₁).

Mathematical statement
InformationEntropy rate of a stationary source

The entropy rate is limₙ H(X₁,…,Xₙ)/n when the limit exists.

Definition
InformationDifferential entropy and scale

For a real density f with defined integral, h(X)=−∫f(x)log₂f(x)dx.

Definition