sorting-network

Python script to check sorting networks and generate sorting network diagrams (by brianpursley)

Sorting-network Alternatives

Similar projects and alternatives to sorting-network based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sorting-network alternative or higher similarity.

sorting-network reviews and mentions

Posts with mentions or reviews of sorting-network. We have used some of these posts to build our list of alternatives and similar projects.
  • Sorting networks and their applications (1968) [pdf]
    1 project | news.ycombinator.com | 3 Jul 2021
    I find sorting networks to be fascinating.

    Beyond 8 inputs, there isn’t a pattern to follow to construct the optimal sorting network, and there are only “best known” sorting networks (but not proven to be optimal) for networks beyond 11 inputs.

    Unintuitively, the optimal sorting network for, let’s say, 16 inputs is not just an iteration on the optimal sorting network for 15 inputs. So you can’t just build upon what was optimal for a smaller sorting network to get thwart is optimal for a larger sorting network.

    I’ve spent more time than I probably should have several years ago experimenting with various genetic algorithms to construct sorting networks for 14, 15, and 16 inputs. It was a fun challenge and learning experience though.

    Here is a little utility I wrote in Python to check whether a comparison network is a sorting network and can generate diagrams for them in svg format.

    https://github.com/brianpursley/sorting-network

  • Program to list 5 numbers in ascending order
    1 project | /r/learnpython | 24 Feb 2021

Stats

Basic sorting-network repo stats
2
16
0.0
over 1 year ago

brianpursley/sorting-network is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of sorting-network is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com