cargo build
(for debug build) or
cargo build --release
./target/debug/ghs <input-file>
(if using debug build) or
./target/release/ghs <input-file>
Input for GHS is a connected, undirected graph with unique edge weights.
See example file - input.
The first line is the number of nodes in the input graph.
Every line following the first line is an edge in the format - (nodeindex, nodeindex, weight)
.