摘要:
A relatively low cost, high speed search processor for efficiently scanning, inserting, and clearing certain data in an ordered linked list of data regarding a plurality of video scan line segments, which segments define mathematical elements (e.g. polygons) and corresponding portions of a three dimensional image. Data items containing information regarding the starting coordinates of the segments of a scan line are encoded and stored in the linked list according to the magnitudes thereof. The present search processor is adapted to read a new data entry to the linked list which is representative of the magnitude of a scan line segment starting coordinate and rapidly search the existing data items of the linked list to determine a particular location in the list at which to insert the new data entry, depending upon the magnitude of the scan line segment starting coordinate thereof relative to the magnitudes of the respective scan line segment starting coordinates of other items in the list.
摘要:
An improved apparatus for forming an ordered sequence of n digital numbers from a randomly arranged set of n digital numbers is shown to be made up of: (a) n registers, each initially holding a different one of the randomly arranged set of n digital numbers; (b) a digital comparator for each adjacent pair of registers to determine whether or not the digital numbers in each adjacent pair of registers are in the ordered sequence and to interchange the digital numbers in any adjacent pair of registers whenever such numbers are not in the ordered sequence; and (c) a switching arrangement, operative in response to each successive one of (2n-1) clock pulses, alternately to switch each digital comparator from the associated adjacent pair of registers to a different selected pair of registers whereby the digital numbers may be shifted through the n registers as required to form the ordered sequence.
摘要:
A system for sorting records of a file to find the record in the file having the highest or lowest data in a first field of the records, provided that the record qualifies to be sorted in accordance with the data in a second field of the records. A plurality of such records are stored on a plurality of blocks of a segmented serial storage device. Random access memory used by the system to accomplish the qualifying and sorting is a small fraction of the size of the file. In the preferred embodiment, a multiplicity of qualifying fields and sort fields may be specified. The system may typically be used, for example, to provide names, addresses and other variable text to be merged with form letter text in a printing system to sequentially print automatic form letters in the alphabetical or zip code order of their intended recipients. This information can also be used to list a qualified sublist of a master file in the order specified by the sort information.
摘要:
An input list of N numbers is clocked through a first sort stage having S1 locations entered into an interstage memory as S2 groups of S1 numbers each. The S1 numbers in each group are in numerical order. The first number in each group forms an initial group of S2 numbers which necessarily includes the smallest number of the N input numbers. This initial group is loaded into a second sort stack having S2 locations which arranges the initial S2 numbers in numerical order. The smallest number forms the first number in the output list. A replacement number from the interstage memory is numerically sorted into the second stack each time the smallest remaining number is clocked out. This replacement number is the next number from the same group as the most recently clocked out number. Each new smallest remaining number must either be the second number in the second stack or the replacement number. In one embodiment two candidates exist for the next replacement number: (1) the next number from the same group as the current replacement number and (2) the next number from the same group as the second number. These candidates are addressed in advance of the current output determination to minimize the clock period. Alternatively, preaddressing may be accomplished by having an initial group of 256 numbers -- the two smallest numbers in each of the S2 groups. There is only one candidate for the next replacement number, which candidate may be identified in advance.
摘要:
An input list of N numbers is clocked through a first sort stack which provides S2 groups of S1 numbers each arranged in ascending numerical order. The numbers are stored in a buffer where the first location within each group always contains the smallest number in that group. These S2 first numbers are loaded into a second sort stack which arranges them in ascending numerical order. The first location in the second stack contains the smallest number in the entire list of N numbers. This smallest number is clocked out of the second stack to form the first number in the output list. A replacement number is numerically sorted into the second stack from the S2 groups each time the smallest remaining number is clocked out. This replacement number is the next smallest number from the same group as the most recently clocked out number. Each time the smallest remaining number is clocked out, the remaining numbers in the second stack are rearranged to accommodate the replacement number for maintaining numerical order. Thus the smallest remaining number whether from the second stack or from the buffer is always advanced to the first location of the second stack. Each stack includes a push-down shift register which contains already sorted numbers (B) at the top of the stack. Each new number (A) is compared to the sorted number (B) at each location. If the replacement number (A) is greater than the previously sorted number (B) at a particular stack location, the replacement number (A) is loaded into that location. The sorted numbers (B) at that location and all subsequent locations are simultaneously pushed down by one location. The input numbers (A) are thus sequentially inserted in numerical order into the stack of already sorted numbers (B).
摘要:
Disclosed is a system for sorting information such as used, for example, in inventory control. New items to be sorted are fetched from a memory unit and are stored as buffered items in buffer stores. Comparators compare each new item from the memory unit with each of the buffered items in the buffer stores and with a lower limit and an upper limit. Item sort address registers store addresses which define the sorted order of the items in the buffer stores. After comparison of each new item, the item sort address registers are updated by the results of the comparison to establish a new sorted order and to cause rejected buffered items to be deleted from the buffer stores to make room for accepted new items. Reformatting apparatus is provided for reformatting items from the memory unit which have variable length and different weight fields such as prefix, body and suffix fields. Apparatus is provided for recognizing control fields which cause items to be ignored or included within the sorting process.
摘要:
Record units, each addressable by a record unit address, have keyfields with keyfield bits arranged to be presented in descending order of significance. The record unit addresses are separated into first and second address groups, comprising all addresses corresponding, respectively, to record units having a most significant keyfield bit of 0 and 1. The first and second address groups are each similarly subdivided into two successive address sub-groups in dependence on the next most significant keyfield bit of each record unit. The separating process of each successive sub-groups of addresses is continued under control of equally weighted bits from each record unit until all keyfield bits have been utilized. A system of indicator numbers are assigned to each record unit address and are modified during each successive sub-grouping to reflect from which of the immediately preceding sub-groups the address is derived.
摘要:
A digital sorter and ranker in which pairs of binary words are subtracted from each other in adders by feed-in in one word of the pair together with the adjacent word one''s complement. A carry output indicates which word is the lowest and this output is fed through coincidence logic circuits to additional series of address and logic circuits in pyramid fashion until a single output is obtained from a final adder. The adder logic circuits, the carry output and the output of the final adder are fed through minimum value logic circuits to a series of minimum value flip-flops with the outputs thereof being fed back to the adders and their logic circuits. To record the rank of each word, a series of flip-flop groups with each group corresponding to a binary word is set according to the word''s rank, the flip-flops being controlled by gating circuits fed by preceding logic circuits, the final adder, and a binary counter.
摘要:
AN ASSOCIATIVE MEMORY IS PROVIDED WHICH SORTS WORDS AS THE WORDS ARE ENTERED INTO THE MEMORY. AN ASSOCIATIVE SEARCH IN THE MEMORY LOCATES THE POSITION AMONG THE WORDS PREVISOULY ENTERED INTO THE MEMORY WHERE THE NEXT WORD IS TO BE ENTERED. DUMMY REGISTERS BETWEEN THE WORD STORING REGISTERS PROVIDE A TEMPORARY LOCATION FOR THE WORD BEING ENTERED. THE WORD STORAGE LOCATIONS ARE SHIFTABLE TO CLEAR THE DUMMY REGISTERS FOR THE NEXT ENTRY. A SEARCH CAN BE MADE UNDER A MASK, AND MEANS IS PROVIDED FOR SELECTING WORDS ONE AT A TIME IN ORDER WHEN A MULTIPLE MATCH OCCURS.