X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=README;h=86f7733bec426b0b375d4ddc5089b05b3d1024fa;hb=4e07bb85854a395d92d93eabc29089d02cb2a5a0;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=e5e7ea97e23be6a9e6af97c7bef0fb3a56a898e7;p=sort-networks.git diff --git a/README b/README index e69de29..86f7733 100644 --- a/README +++ b/README @@ -0,0 +1,68 @@ +libsortnetwork +-------------- + + +Library for handling comparator networks in general and sort networks in +particular. + + +Utility applications +-------------------- + +The distribution includes a number of utility applications for handling sort +networks. Most tools operate in the typical UNIX fashion of reading from STDIN +and writing to STDOUT, so that it is able to chain tools together. + +The distribution includes the following utility programs: + + * sn-apply + Reads a list of values from STDIN and applies a given comparator network to + the list. The resulting list of printed to STDOUT. + + * sn-batcher + Creates a batcher bitonic-merge-sort network with a given number of inputs + and prints the network to STDOUT. The number of inputs must be a power of + two. + + * sn-check-bf + Does a brute-force check whether a given comparator network is a sort + network. It tries all 2^n 0-1-combinations resulting in exponential running + time, so only small networks can be tested within a reasonable time. + + * sn-cut + Remove an input by assuming positive or negative infinity to be applied to + one input and "winning" or "losing" all comparisons. + + * sn-info + Display information about a comparator network in human readable form. + + * sn-merge + Combine two sort networks using the odd-even-merge network. + + * sn-normalize + Reads a sort network and prints a normalized version to STDOUT. A + normalized sort network is a network in which all comparators face the same + way. + + * sn-oddevenmerge + Creates a odd-even-merge-sort network with a given number of inputs and + prints the network to STDOUT. + + * sn-shmoo + Prints a so-called "shmoo chart" of a comparator network to STDOUT. The + running time of this tool is exponential, roughly O(m * 2^n) where m is the + number of stages and n is the number of inputs. + + * sn-show + Prints an ASCII version of a sort network to STDOUT. + + * sn-tex + Prints the TikZ / TeX sources of a graphic representation of a comparator + network to STDOUT. + + +Author +------ + +libsortnetwork has been written by Florian "octo" Forster. +You can reach Florian at .