Claims
- 1. A searching method, comprising:
providing a search tree having a root node, one or more branch nodes wherein each branch node has one or more leaf nodes containing data values to be matched and a mask value of the data, each branch node of the tree further comprising a value indicating the leaf values in the branch node and a compressed ternary mask for each branch node of the tree, the compressed ternary mask further comprising extracting the most significant bit of each mask contained in the branch node and logically ORing the most significant bits of the each mask together to generate the compressed ternary mask which represents the masks for all of the leaf nodes on the branch node of the tree; selecting a branch node by comparing a key value to the value associated with each branch node; comparing the key value to the values of the leaf nodes of the selected branch node to identify a matching value; and if the leaf node value of the selected branch node does not match the key value, comparing the key value to the compressed ternary masks for the other branch nodes of the tree to identify a best match for the key value.
RELATED APPLICATIONS
[0001] This application claims priority under 35 U.S.C. §119 from U.S. Provisional Application Serial No. 60/311,112 filed on Aug. 9, 2001 and entitled “Compressed Ternary Mask”. In addition, this application claim priority under 35 U.S.C. §120 and is a continuation in part of U.S. patent application Ser. No. 10/087,725 filed Mar. 1, 2002, which is a continuation of U.S. patent application Ser. No. 09/483,206 filed on Jan. 14, 2000 (now issued U.S. Pat. No. 6,389,507).
[0002] This application also claim priority from Disclosure Document No. SV01051 which should be retained.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60311112 |
Aug 2001 |
US |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09483206 |
Jan 2000 |
US |
Child |
10215534 |
Aug 2002 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10087725 |
Mar 2002 |
US |
Child |
10215534 |
Aug 2002 |
US |