diff options
author | Derick Huth <derickhuth@gmail.com> | 2015-05-07 14:41:10 -0600 |
---|---|---|
committer | Derick Huth <derickhuth@gmail.com> | 2015-05-07 14:41:10 -0600 |
commit | 6eb2b89896da66a77d0dcdf2d72b98c122826949 (patch) | |
tree | 6c8174dadfe11a2a515c29940872a02d81f8d990 /graph.hh | |
parent | e6b89c668036ff8424455d3d1d1a5d79a063fc92 (diff) | |
parent | f5c39e4c6ff55520948c2ef331c968cd84b817d9 (diff) | |
download | chill-6eb2b89896da66a77d0dcdf2d72b98c122826949.tar.gz chill-6eb2b89896da66a77d0dcdf2d72b98c122826949.tar.bz2 chill-6eb2b89896da66a77d0dcdf2d72b98c122826949.zip |
Merge pull request #6 from dhuth/master
Adding Autotool Files.
Diffstat (limited to 'graph.hh')
-rw-r--r-- | graph.hh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ template<typename VertexType, typename EdgeType> std::ostream& operator<<(std::ostream &os, const Graph<VertexType, EdgeType> &g) { for (int i = 0; i < g.vertex.size(); i++) for (typename Graph<VertexType,EdgeType>::EdgeList::const_iterator j = g.vertex[i].second.begin(); j != g.vertex[i].second.end(); j++) { - os << i+1 << "->" << j->first+1 << ":"; + os << "s" << i << "->" << "s" << j->first << ":"; for (typename std::vector<EdgeType>::const_iterator k = j->second.begin(); k != j->second.end(); k++) os << " " << *k; os << std::endl; |