Skip to content

Commit

Permalink
Renamed a method for more clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
smbadiwe committed Nov 10, 2017
1 parent bdfdc39 commit b4e2d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MODA.Impl/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ internal static MappingTestResult IsMappingCorrect2(SortedList<int, int> functio
}

// if mapping is possible (=> if compareEdgeCount >= 0)
var subgraphDegrees = subgraph.GetDegreeSequence();
var subgraphDegrees = subgraph.GetReverseDegreeSequence();
var testG = new UndirectedGraph<int>();
testG.AddVerticesAndEdgeRange(edgeImages);
var testGdeg = testG.GetDegreeSequence();
var testGdeg = testG.GetReverseDegreeSequence();
if (compareEdgeCount == 0)
{
// Same node count, same edge count
Expand Down
2 changes: 1 addition & 1 deletion QuickGraph/Alt/UndirectedGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public IList<TVertex> GetNodesSortedByDegree(int count)
/// the order direction
/// </summary>
/// <returns></returns>
public List<int> GetDegreeSequence()
public List<int> GetReverseDegreeSequence()
{
var tempList = new List<int>(VertexCount);
foreach (var node in Vertices)
Expand Down

0 comments on commit b4e2d54

Please sign in to comment.