| Documentation |
| License | The obligatory license. Please read this if you want to redistribute my program or use it for commercial purposes. Also, contact information is there in case you want to submit modified code, bugs, questions, suggestions or plugins to me -- and of course, you'll get your credit. |
| No detailed instruction manual exists yet. If I find there's a need for one, I'll write a FAQ. In general, you should be able to figure it out from the sample input and the program prompts. |
| Executable |
| Compiled Executable | The executable. Run it in a command prompt. You may "pipe in" a sample input file below in Windows like this: >MFG1_2 < inputfilename.txt |
| Code |
Source Code | The code for the sample driver, support classes, and the default "Depth-First Search" algorithm for finding figures. Driver.cpp Algorithm.h Algorithm.cpp ADFS.h ADFS.cpp DFS.h DFS.cpp Magic.h Magic.cpp Matrix.h Matrix.cpp Range.h Range.cpp Rational.h Rational.cpp | | Sample Input |
| Traditional 3-Sided Magic Square | The obvious first choice. |
| Traditional 3-Sided Anti-Magic Square | Like the first one, except where all sums must be different. There are a lot! Can you find any antimagic figures that aren't so easy? |
| 3-Sided Perfect Magic Cube | This doesn't give a solution: It is impossible to make a 3-sided perfect magic cube.It just confirms what was proven mathematically already. |
| Olympic Rings (cheat) | This creates magic "Olympic Rings" like on figure 4.23 of Pickover's book (see above.) This example also demonstrates the ability to "cheat" by using a constant to set a few values before running the program. |