added usage in comments
This commit is contained in:
parent
a04946635e
commit
3f6def7b8b
1 changed files with 13 additions and 0 deletions
13
hampath.py
13
hampath.py
|
@ -1,5 +1,18 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
"""
|
||||||
|
using: ./hampath.py input_file
|
||||||
|
|
||||||
|
input file - connection matrix for a graph
|
||||||
|
numbers with ; as separator
|
||||||
|
|
||||||
|
ex.
|
||||||
|
|
||||||
|
0;1;2
|
||||||
|
1;0;3
|
||||||
|
2;3;0
|
||||||
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
#Initial node for search \ start element in result chain.
|
#Initial node for search \ start element in result chain.
|
||||||
|
|
Loading…
Reference in a new issue