Skip to content

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

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

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

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages