Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| retegraphprocessing:elements:prototyping:new_algorithm [2023/05/15 09:54] – [References] gedbadmin | retegraphprocessing:elements:prototyping:new_algorithm [2024/01/19 17:46] (current) – removed gedbadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== New Algorithm Prototype ====== | ||
| - | |||
| - | ===== Introduction ===== | ||
| - | |||
| - | For this prototype a new algorithm for compression is introduced | ||
| - | |||
| - | ===== The Algorithm ===== | ||
| - | |||
| - | ==== Description ==== | ||
| - | |||
| - | The algorithm represents a directed graph as a set of bitmaps. | ||
| - | - Bitmaps can encode information very efficiently. | ||
| - | - Binary logic operations can be performed very efficiently due to there support at the processor level. | ||
| - | ((Martínez-Bazan, | ||
| - | |||
| - | The algorithm is described as follows: | ||
| - | - Let BD be the dimension of a single bitmap. | ||
| - | - Let BM be a bitmap encoded as BD words. | ||
| - | - Let i be a position between 1 and BD1 | ||
| - | - Let V< | ||
| - | - Let each column in the matrix represent a from-vertex. | ||
| - | - Let each row in the matrix represent a to-vertex. | ||
| - | - For each edge that exists within a graph the bit at the intersection between the from-vertex and the to-vertex is set to 1. | ||
| - | - For any bit position set to zero no edge exists between the from-vertex and the to-vertex. | ||
| - | |||
| - | For example, consider a graph of 4 vertexes and 6 edges: | ||
| - | * V = ( 1, 2, 3, 4 ) | ||
| - | * E = ( 1->2, 2->3, 3->4, 4->1 ) | ||
| - | |||
| - | This graph is represented by 4 words, with each word having a length of 4 bits. The following table shows the bitmap used to encode this graph: | ||
| - | |||
| - | | ^ From 1 ^ From 2 ^ From 3 ^ From 4 ^ | ||
| - | ^ To 1 | | ||
| - | ^ To 2 | | ||
| - | ^ To 3 | | ||
| - | ^ To 4 | | ||
| - | |||
| - | This would be an array of bytes: [ 0001< | ||
| - | ==== Originality ==== | ||
| - | |||
| - | A taxomomy of lossless graph compression representations lists just one bitmap based scheme: the DEX general-purpose system for large graphs. | ||
| - | |||
| - | The DEX system is described in two papers, which provide a high level description of the way in which bitmap indices are used. They are one of data structures used alongside other map types, links and various auxiliary structures. | ||
| - | |||
| - | This is different from the proposed encoding. | ||
| - | |||
| - | A library search for the terms " | ||
| - | |||
| - | ====== References ====== | ||
| - | * Abdelrahman Hosny, Marina Neseem, and Sherief Reda. “BitTrain: | ||
| - | * Besta, Maciej, and Torsten Hoefler. “Survey and Taxonomy of Lossless Graph Compression and Space-Efficient Graph Representations.” (2018): n. pag. Web. | ||
| - | * Martinez-Bazan, | ||
| - | * Martínez-Bazan, | ||