diff --git a/src/edu/caltech/cs2/coloring/NodeGraph.java b/src/edu/caltech/cs2/coloring/NodeGraph.java index 7a0367fc61af088570c43d6af1490e906e577fc0..cd11d84ed535be0decd179e4cde919a4f387e460 100644 --- a/src/edu/caltech/cs2/coloring/NodeGraph.java +++ b/src/edu/caltech/cs2/coloring/NodeGraph.java @@ -16,7 +16,7 @@ public class NodeGraph { private static class Node { public int name; public int color; - public ISet<Node> neighbors; // The names of this node's neighbors + public ISet<Node> neighbors; // The set of this node's neighboring nodes public ISet<Integer> neighborColors; // The colors which its neighbors use public ISet<Integer> neighborsUncolored; // The names of its neighbors which aren't yet colored @@ -120,7 +120,7 @@ public class NodeGraph { /** * Gets the degree of saturation of a given vertex - * (ie: the number of unique colors across its neighbors) + * (i.e., the number of unique colors across its neighbors) * @param n The name of the vertex * @return Its degree of saturation */ @@ -191,4 +191,4 @@ public class NodeGraph { } return result + "}"; } -} \ No newline at end of file +}