From 8ea2ecbe3a96fea998e5aabc99fb2624ef45e124 Mon Sep 17 00:00:00 2001 From: Felix Baum Date: Sun, 29 Dec 2024 22:28:51 +0100 Subject: [PATCH] small changes to README --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e9ad95f..49b8b32 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ It was originally written for the ADS-Course of University of Vienna. ## Setup -To try the Set out, a testprogram is provided (that is heavily influenced by a testprogram from the university course). -To run the Program, compile the file `eh_playground.cpp` using CMake and run it: +To try the Set out, you can use the provided playground program. +To run the Program, compile the file `eh_playground` using CMake and run it: ```bash mkdir build && cd build @@ -33,7 +33,7 @@ For more Information run --help ``` -## Interface +## Commands The Program launches into a prompt, from there you have multiple commands to modify or inspect the set: @@ -62,8 +62,8 @@ After executing commands that alter the set the set will be printed, if the Prog If the Program isn't run nonverbose, after every change to the Set, it will be printed out (equivalent to running `p`). The Format for printing is definde by the `dump()` method, and includes every directory, and the bucket that it points to (-> if its the only (or first) Directory pointing to that Bucket, or ~> followed by the first Directory, pointing to that Bucket else) as well as the Elements inside the Buckets and info like size, offset, local/global depth etc. -For example a Set like this: - +For example a Set like this: + ![https://media.geeksforgeeks.org/wp-content/uploads/20190803222615/hash73.png](https://media.geeksforgeeks.org/wp-content/uploads/20190803222615/hash73.png "Example") might look like this: @@ -71,4 +71,4 @@ Extendible Hashing , d = 2, nD = 4, sz = 9 0 --> [l = 2, offset = 4, arrsz = 3 | 16 4 24 ] 1 --> [l = 1, offset = 2, arrsz = 3 | 31 7 9 ] 2 --> [l = 2, offset = 4, arrsz = 3 | 6 22 10 ] -3 ~~> 1 --> [l = 1, offset = 2, arrsz = 3 | 31 7 9 ] +3 ~~> 1 --> [l = 1, offset = 2, arrsz = 3 | 31 7 9 ]