Open buckeye43210 opened 6 years ago
Just for clarification, that freemind mind map has nothing to do with this ticket, right? PERM.EXE
generates just file D
which is a text file in the outlineish format, doesn’t it?
Correct. The graphic is only there to show the tree structure after it's imported into freemind.
OVERVIEW
I'm looking for someone to rewrite the MaxThink Perm Decision Tree Builder. Perm was a DOS program written by Neil Larson to convert three hierarchical input files into a decision tree or search tree. The input files are as follows:
Larson used his MaxThink outliner to create the input files, but any ASCII text editor can be pressed into service as long as leading spaces or tabs are used to indicate the different levels of the outline. If using leading tabs, and MaxThink compatibility is desired, the Linux expand command may be used to convert the file back into MaxThink mode as follows:
The Linux unexpand command may be used to convert a MaxThink file into one using leading tabs as follows:
ATTRIBUTE FILE (A)
A simple decision tree to select a beverage would use an attribute file as follows:
Attribute tags (COLOR, COST, TASTE) are optional, but the files must be consistent.
CATEGORY FILE (B)
The second file which is derived from the Attribute File and has the following structure:
PRIORITY FILE (C)
The third file which is derived from the Category File is as follows:
OUTPUT FILE (D)
Typing "perm A B C D" from the command prompt should create Output File D with minimal paths to the recommended actions.
Here's what the output file looks like as a freemind mind map: