It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Thinking back to my first PC (Apple ][e), I was given a couple disks of freeware applications such as a simple word processor, database, etc.

On one of those disks, I recall a very simple decision-making program that worked like this:

1) You would enter a list of items (Example: A-F)

2) Then, it would compare 2 from your list and ask which you preferred. (Choose: A or C, Choose: C or D, etc.)

3) It would continue to do this until it was able to calculate the hierarchy simply by the binary combinations presented in all of the iterations.

4) It would output the list in order of your preference.

In my searches, I've only found decision-making apps based on other criteria such as placing importance percentages on various factors, etc.

Does anyone know what type of algorithm or procedure name I'm looking for, or where I can find something that does this (preferably without cost)?
Post edited April 19, 2016 by chadjenofsky
This question / problem has been solved by ZFRimage
avatar
chadjenofsky: Does anyone know what type of algorithm or procedure name I'm looking for, or where I can find something that does this (preferably without cost)?
What you're essentially looking for is simply a sorting algorithm.

Almost any will do.

Depending on how much IT experience you have (a layman for example might find some of the more advanced sort algorithms too complicated), you could just use somthing simple like insertion sort (for small lists it won't matter in practice anyway).

So e.g. using insertion sort for an A-F list:

1) Do you prefer A or B? (let's say the answer is B)

Now we know B > A. We try to insert C.

2) Do you prefer B or C? (let's say the answer is B)

3) Do you prefer A or C? (let's say the answer is C)

Now we know B > C > A. We try to insert D.

4) Do you prefer B or D? (let's say the asnwer is D).

Now we know D>B>C>A (we can skip comparing D to C or A). We try to insert E... etc.

One problem with Insert sort, is that the user would feel the questions are asked "in order". For a more "varied" approach, try maybe . Or if you feel you're up to it [url=https://en.wikipedia.org/wiki/Quicksort]Quicksort (sorry if you know about this already, as I said, I don't know how much IT experience you have).
Post edited April 18, 2016 by ZFR
Like this?
Thanks for the info ZFR and hyperagathon!

Was looking at this for 2 reasons, 1) to understand how it worked, and 2) see if there's anything out there that does this.

I haven't yet figured out to mark more than one answer as solution yet. Sorry :-(
Post edited April 19, 2016 by chadjenofsky