Wikipedia / Dynamization
Wikipedia / Dynamization
In computer science, dynamization is the process of transforming a static data structure into a dynamic one. Although static data structures may provide very good functionality and fast queries, their utility is limited because of their inability to grow/shrink quickly, thus making them inapplicable for the solution of dynamic problemss, where the input data changes. Dynamization techniques provide uniform ways of creating dynamic data structures.
Decomposable search problems
is decomposable.
Decomposition
Decomposition is a term used in computer science to break static data structures into smaller units of unequal size. The basic principle is the idea that any decimal number can be translated into a representation in any other base. For more details about the topic see Decomposition (computer science). For simplicity, binary system will be used in this article but any other base (as well as other possibilities such as Fibonacci numbers) can also be utilized.
elements is broken down into subsets of sizes with
factor as opposed to the static data structure operations but will allow insert/delete operation to be added.
Kurt Mehlhorn proved several equations for time complexity of operations on the data structures dynamized according to this idea. Some of these equalities are listed.
If
is the time to build the static data structure
is the time to query the static data structure
is the time to query the dynamic data structure formed by decomposition
is the amortized insertion time
then
is at least polynomial.
References
Further reading
Kurt Mehlhorn, Data structures and algorithms 3, . An EATCS Series, vol. 3, Springer, 1984.