Combinatorial explosion

Combinatorial explosion

In mathematics a combinatorial explosion describes the effect of functions that grow very rapidly as a result of combinatorial considerations.[1]

Examples of such functions include the factorial function and related functions. Pathological examples of combinatorial explosion include functions such as the Ackermann function.

Contents

Example in computing

Combinatorial explosion can occur in computing environments in a way analogous to communications and multi-dimensional space. Imagine a simple system with only one variable, a boolean called A. The system has two possible states, A = true or A = false. Adding another boolean variable B will give the system four possible states, A = true and B = true, A = true and B = false, A = false and B = true, A = false and B = false. A system with n booleans has 2n possible states, while a system of n variables each with Z allowed values (rather than just the 2 (true and false) of booleans) will have Zn possible states.

The possible states can be thought of as the leaf nodes of a tree of height n, where each node has Z children. This rapid increase of leaf nodes can be useful in areas like searching, since many results can be accessed without having to descend very far. It can also be a hindrance when manipulating such structures.

Consider a class hierarchy in an object-oriented language. The hierarchy can be thought of as a tree, with different types of object inheriting from their parents. If different classes need to be combined, such as in a comparison (like A < B) then the number of possible combinations which may occur explodes. If each type of comparison needs to be programmed then this soon becomes intractable for even small numbers of classes. Multiple inheritance can solve this, by allowing subclasses to have multiple parents, and thus a few parent classes can be considered rather than every child, without disrupting any existing hierarchy.

For example, imagine a hierarchy where different vegetables inherit from their ancestor species. Attempting to compare the tastiness of each vegetable with the others becomes intractable since the hierarchy only contains information about genetics and makes no mention of tastiness. However, instead of having to write comparisons for carrot/carrot, carrot/potato, carrot/sprout, potato/potato, potato/sprout, sprout/sprout, they can all inherit from a separate class of tasty whilst keeping their current ancestor-based hierarchy, then all of the above can be implemented with only a tasty/tasty comparison.

Example in arithmetic

Suppose we take the factorial for n:

n! = (n)(n − 1)...(2)(1)

Then 1! = 1, 2! = 2, 3! = 6, and 4! = 24. However, we quickly get to extremely large numbers, even for relatively small n. For example, 100! = 9.33262154 × 10157, a number so large that it cannot be displayed on most calculators.

See also

References

  1. ^ Krippendorff, Klaus. "Combinatorial Explosion". Web Dictionary of Cybernetics and Systems. PRINCIPIA CYBERNETICA WEB. http://pespmc1.vub.ac.be/ASC/Combin_explo.html. Retrieved 29 November 2010. 

Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Combinatorial explosion (communication) — For other uses, see Combinatorial explosion. Using separate lines of communication, four organizations require six channels …   Wikipedia

  • combinatorial — combinatory combinatoryadj. 1. able to combine; tending to combine. Note: same as {combinative}, 2. [Narrower terms: {integrative (vs. disintegrative)}] Syn: combinative. [WordNet 1.5] 2. of or relating to combinations. [Narrower terms:… …   The Collaborative International Dictionary of English

  • Kombinatorische Explosion — Dieser Artikel wurde auf der Qualitätssicherungsseite des Portals Mathematik eingetragen. Dies geschieht, um die Qualität der Artikel aus dem Themengebiet Mathematik auf ein akzeptables Niveau zu bringen. Dabei werden Artikel gelöscht, die nicht… …   Deutsch Wikipedia

  • combinative vs noncombinative — combinatorial combinatorial combinatory combinatoryadj. 1. able to combine; tending to combine. Note: same as {combinative}, 2. [Narrower terms: {integrative (vs. disintegrative)}] Syn: combinative. [WordNet 1.5] 2. of or relating to combinations …   The Collaborative International Dictionary of English

  • combinatory — combinatorial combinatorial combinatory combinatoryadj. 1. able to combine; tending to combine. Note: same as {combinative}, 2. [Narrower terms: {integrative (vs. disintegrative)}] Syn: combinative. [WordNet 1.5] 2. of or relating to combinations …   The Collaborative International Dictionary of English

  • integrative vs disintegrative — combinatorial combinatorial combinatory combinatoryadj. 1. able to combine; tending to combine. Note: same as {combinative}, 2. [Narrower terms: {integrative (vs. disintegrative)}] Syn: combinative. [WordNet 1.5] 2. of or relating to combinations …   The Collaborative International Dictionary of English

  • List of mathematics articles (C) — NOTOC C C closed subgroup C minimal theory C normal subgroup C number C semiring C space C symmetry C* algebra C0 semigroup CA group Cabal (set theory) Cabibbo Kobayashi Maskawa matrix Cabinet projection Cable knot Cabri Geometry Cabtaxi number… …   Wikipedia

  • Combs method — The Combs method is a method of writing fuzzy logic rules described by William E. Combs in 1997. It is designed to prevent combinatorial explosion in fuzzy logic rules. The Combs method takes advantage of the logical equality . Contents 1… …   Wikipedia

  • History of artificial intelligence — The history of artificial intelligence begins in antiquity with myths, stories and rumors of artificial beings endowed with intelligence and consciousness by master craftsmen. In the middle of the 20th century, a handful of scientists began to… …   Wikipedia

  • List of combinatorics topics — This is a list of combinatorics topics.A few decades ago it might have been said that combinatorics is little more than a way to classify poorly understood problems, and some standard remedies. Great progress has been made since 1960.This page is …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”