Physical representation of bead sort

Click For Summary
SUMMARY

Bead sort is an impractical sorting algorithm with a theoretical time complexity of O(√n). The discussion explores the concept of constructing a device that converts digital numbers into an analog format for bead sorting, utilizing photodiodes and lasers to read bead positions. However, the device would require O(n^2) beads and a rectangular array of holes, leading to a minimum output time of O(n) for number distribution. The conversation concludes that while bead sort is inefficient, the idea of such a device remains intriguing.

PREREQUISITES
  • Understanding of sorting algorithms, specifically bead sort
  • Knowledge of time complexity analysis, including O(√n) and O(n^2)
  • Familiarity with analog-to-digital signal conversion techniques
  • Basic principles of photodiodes and laser technology
NEXT STEPS
  • Research the practical applications and limitations of bead sort in computational theory
  • Explore analog-to-digital conversion methods and their implementations
  • Investigate the use of photodiodes and lasers in sensor technology
  • Learn about alternative sorting algorithms and their efficiencies, such as bubble sort
USEFUL FOR

Computer scientists, electrical engineers, and anyone interested in theoretical computer science and innovative sorting techniques.

YoungPhysicist
Insights Author
Messages
350
Reaction score
203
Bead sort is a not practical sorting algorithm that suppose to have a time complexity of ##O(\sqrt{n})##in the real world.

I thought it would be great if a device that can take numbers from the computer,then turn it into analog stuff that the device can read,drop the beads,and return it to the computer as digital signals.Can such thing being constructed?

Edit:For turning signal back to digital,I thought above using a series of photodiodes and lasers to read the position of the beads,but I still got no clue of how to place them in the rod.
 
Last edited:
Technology news on Phys.org
Young physicist said:
I thought it would be great if a device that can take numbers from the computer,then turn it into analog stuff that the device can read,drop the beads,and return it to the computer as digital signals.Can such thing being constructed?

It will take O(n) to output the numbers from the computer to the bead-device, so you can't go faster than that.
The bead device would need O(n^2) beads. You'd need an plate with a rectangular array of holes and use O(n^2) devices that either push a bead through or don't. Light speed delay would mean you'd need O(n) time to distribute the numbers to be sorted, even if you had the numbers ready on an infinite set of registers and all available in parallel.

If you allow a time O(n) with a device of size O(n), bubble sort work just fine
 
willem2 said:
If you allow a time O(n) with a device of size O(n), bubble sort work just fine
Yeah, I know it wouldn't be efficient if I actually made one of those devices, but I just thought it would be interesting.
 
We have many threads on AI, which are mostly AI/LLM, e.g,. ChatGPT, Claude, etc. It is important to draw a distinction between AI/LLM and AI/ML/DL, where ML - Machine Learning and DL = Deep Learning. AI is a broad technology; the AI/ML/DL is being developed to handle large data sets, and even seemingly disparate datasets to rapidly evaluated the data and determine the quantitative relationships in order to understand what those relationships (about the variaboles) mean. At the Harvard &...

Similar threads

Replies
10
Views
5K
Replies
1
Views
2K
Replies
29
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
4K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K