Skip to content

Briefly implement algorithms introduced in "Compressing IP Forwarding Tables: Towards Entropy Bounds and Beyond A revised technical report", mainly contains algorithms about compressing the Trie structure.

Notifications You must be signed in to change notification settings

bobchennan/Trie-Compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trie-Compress

Briefly implement algorithms introduced in "Compressing IP Forwarding Tables: Towards Entropy Bounds and Beyond A revised technical report", mainly contains algorithms about compressing the Trie structure.

Algorithms include(plan):

  • original binary Trie
  • Path-compressed Trie(PATRICIA Tree)(omitted due to the backtracking overhead)
  • Optimal Routing Table Constructor(ORTC) algorithm
  • level compress trie
  • Burrows-Wheeler transform for binary leaf-labeled tries(XBW-b) implementation

Also, a visualized tree can be used to view the transform of different algorithms. There are two views using in printtree.c, just define COMPACT or not:

COMPACT look:                                                  
	     .-----------------  o  -----------------.       
	  .--  o  -------.                   .-------  o  --.                           
	  o         .--  o  --.         .--  o  --.       (003)                         
	          (001)       o         o       (002)          
			  

DEFAULT look:
                           o                                                    
       +-------------------+-------------------+                                
       o                                       o                                
  +----+---------+                   +---------+----+                           
  o              o                   o            (003)                         
            +----+----+         +----+----+                                     
          (001)       o         o       (002)       

About

Briefly implement algorithms introduced in "Compressing IP Forwarding Tables: Towards Entropy Bounds and Beyond A revised technical report", mainly contains algorithms about compressing the Trie structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published