Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:m_permutations_of_n_using_johnson_trotter_algorithm_on_vbscript [2018/05/25 09:11] 2SRTVF |
en:m_permutations_of_n_using_johnson_trotter_algorithm_on_vbscript [2018/05/25 09:29] 2SRTVF |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[https://en.wikipedia.org/wiki/Steinhaus%E2%80%93Johnson%E2%80%93Trotter_algorithm|The Johnson–Trotter algorithm]] was used to create [[https://en.wikipedia.org/wiki/Permutation#k-permutations_of_n|m-permutations of n]].\\ | [[https://en.wikipedia.org/wiki/Steinhaus%E2%80%93Johnson%E2%80%93Trotter_algorithm|The Johnson–Trotter algorithm]] was used to create [[https://en.wikipedia.org/wiki/Permutation#k-permutations_of_n|m-permutations of n]].\\ | ||
- | Источником n чисел является xml файл, NumberSetting.xml.\\ | + | The source of n numbers is the XML file (NumberSetting.xml).\\ |
- | Число m, наименование файла-источника, наименование выходного файла, наименование элементов в xml файлах определяется в коде как константы.\\ | + | The number m, the name of the source file, the name of the output file, the names of the elements in the XML files are defined in the code as constants.\\ |
- | Предварительно вывод результата происходит в csv файл, далее, используя csv файл, формируется выходной xml. | + | The result is pre-output in a CSV file, then the output XML is generated.\\ |
- | + | \\ | |
- | \\ \\ <file xml NumberSetting.xml> | + | <file xml NumberSetting.xml> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||