Featured Image

Floating Point Round Off Errors in Geometric Algorithms

Eat Spinach and Build your Convex Hull — Popeye the Sailor. Floating Point Precision in Geometric Algorithms Most geometric algorithms are designed for exact real arithmetic; replacing them with floating-point arithmetic may cause those implementations to fail. Unfortunately, there are no go-to documents on what can go wrong and why across geometric algorithms. The rest of the post discusses...

Eat Spinach and Build your Convex Hull — Popeye the Sailor. Floating Point Precision in Geometric Algorithms Most geometric algorithms are designed for exact real arithmetic; replacing them with floating-point arithmetic may cause those implementations to fail. Unfortunately, there are no go-t...

Read more
Featured Image

Custom domain for GitHub pages

Let's get the website up! — Drama llama. Configuration Domain (example.com). Subdomain (www.example.com). HTTPS (Optional but strongly recommended). At the end of the tutorial, you’ll have a set-up, where all requests to example.com will be redirected to https://www.example.com Enable GitHub pages in GitHub settings Go to the repository → Settings ⚙️ → Pages Select Source...

Let's get the website up! — Drama llama. Configuration Domain (example.com). Subdomain (www.example.com). HTTPS (Optional but strongly recommended). At the end of the tutorial, you’ll have a set-up, where all requests to example.com will be redirected to https://www.example.com E...

Read more
Featured Image

Hybrid Spatial Data Structure based on KD-tree and Quadtree

Let’s grow the trees! — Totoro. What’s a Spatial Index? A spatial index is a data structure that allows for accessing a spatial object efficiently, which is a commonly used technique in spatial databases. Without indexing, searching would require a “sequential scan” of all records in the database, thereby increasing the processing time. The Minimum Bounding Rectangle (MBR), often termed the ...

Let’s grow the trees! — Totoro. What’s a Spatial Index? A spatial index is a data structure that allows for accessing a spatial object efficiently, which is a commonly used technique in spatial databases. Without indexing, searching would require a “sequential scan” of all records in the datab...

Read more
Featured Image

External Merge Sort using Priority Queue

External Sorting — Totoro. External sorting is a class of sorting algorithms that can handle massive amounts of data. External sorting is required when the data being sorted does not fit into the main memory of a computing device (RAM). Instead, they must reside in the slower external memory (Disk). To explain the working of External Merge Sort using a Priority Queue, consider the input arra...

External Sorting — Totoro. External sorting is a class of sorting algorithms that can handle massive amounts of data. External sorting is required when the data being sorted does not fit into the main memory of a computing device (RAM). Instead, they must reside in the slower external memory (D...

Read more