python justgreed.py <name-of-graph> [algorithm]
The name-of-graph is the filename without the .adjlist
. The algorithm is one
of the following
- null
- len
- oracle (default)
Returns zero.
Returns the number of untouched nodes adjacent to the selected node
Returns the number of untouched nodes adjacent to the selected node, plus the number of untouched nodes adjacent to its best child.