Abstract
For a mapping or function to be represented by an array it is necessary that the domain type be both finite and of small enough cardinality to allow the allocation of a unique part of store for each array element. Likewise set structures, which have a small enough base type, are capable of an efficient bitstring representation in which an individual bit is allocated to each possible set element. Exceeding the restriction, as in the case of integer sets, necessitates an altogether different representation. However, in many applications the programmer cannot avoid requiring a structure representation for a function with large or infinite domain or for a set with large or infinite base type. A structural representation is only possible for sets that have only a small number of domain elements and for functions that map only a few values into significant range values. By ‘significant’ we mean differing from a specified null or default value. Such structures are known as sparse sets and arrays
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1979 Derek Coleman
About this chapter
Cite this chapter
Coleman, D. (1979). Simple Searching Techniques. In: A Structured Programming Approach to Data. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-5981-7_10
Download citation
DOI: https://doi.org/10.1007/978-1-4612-5981-7_10
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4684-7987-4
Online ISBN: 978-1-4612-5981-7
eBook Packages: Springer Book Archive