mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -174,7 +174,7 @@ void Graph::addNode(Node *nd){
|
||||
|
||||
//add an edge
|
||||
//this adds an edge ONLY when
|
||||
//the edge to be added doesn not already exist
|
||||
//the edge to be added does not already exist
|
||||
//we "equate" two edges here only with their
|
||||
//end points
|
||||
void Graph::addEdge(Edge ed, int w){
|
||||
@ -497,7 +497,7 @@ void Graph::makeUnDirectional(){
|
||||
|
||||
//reverse the sign of weights on edges
|
||||
//this way, max-spanning tree could be obtained
|
||||
//usin min-spanning tree, and vice versa
|
||||
//using min-spanning tree, and vice versa
|
||||
void Graph::reverseWts(){
|
||||
vector<Node *> allNodes=getAllNodes();
|
||||
for(vector<Node *>::iterator NI=allNodes.begin(), NE=allNodes.end(); NI!=NE;
|
||||
|
Reference in New Issue
Block a user