template <class V, class I, int NumberNodes> void print(const Lattice<V, I, NumberNodes>& source) { for (I j = source.MinIndex(); j <= source.MaxIndex(); j++) { cout << "\nBranch Number " << j << ": ["; for (I i = source[j].MinIndex(); i <= source[j].MaxIndex(); i++) { cout << source[j][i] << ", "; } cout << "]"; } }