cyclegraph: straighten out header vs. implementation vs. usage
authorBrian Norris <banorris@uci.edu>
Tue, 21 Aug 2012 06:56:10 +0000 (23:56 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 21 Aug 2012 06:56:10 +0000 (23:56 -0700)
commitad9f8597027acf647e4fc3a0b22ac3312d291878
tree960c814dbc66147abb00b545e67e7ce8c1255c7e
parentf001f8b98c907df8bd7f38e92c00445071f26304
cyclegraph: straighten out header vs. implementation vs. usage

The CycleGraph::addEdge and CycleGraph::addRMWEdge functions were a little
confusing to use, since their implementation and header prototypes had
different parameter naming. This swapped the 'to' and 'from' naming, such that
it appeared as if the addEdge() users were adding edges in the reverse
direction. The functionality was not actually incorrect, but my understanding
was...

This corrects the naming and switches the order of the arguments.
cyclegraph.cc
cyclegraph.h
model.cc