Skip to content
Snippets Groups Projects
Commit dc50e857 authored by Paul Nitzke's avatar Paul Nitzke
Browse files

Remove unnecessary Read- methods

* These were originally intended to separate the reading process for
  bipartite and adjacency graphs. It turned out that because AddEdge is
  the (only) common interface that both implementations share separation
  was not necessary
parent 379dbd7a
No related branches found
No related tags found
1 merge request!27Complete documentation and streamline coding style a bit
using DataStructures;
namespace SparseTransform.Convert
{
interface IReader
......@@ -13,21 +12,5 @@ namespace SparseTransform.Convert
public IGraph ReadGraph(String matrix);
public DoubleMatrix ReadMatrix(String matrix);
/// <summary>
/// auxiliary method for transforming <c>matrix</c> in a bipartit graph
/// </summary>
/// <param name="matrix">input matrix string</param>
/// <returns></returns>
BipartiteGraph ReadBipartite(String matrix);
/// <summary>
/// auxiliary method for transforming <c>matrix</c> in a adjacency graph
/// </summary>
/// <param name="matrix"></param>
/// <returns></returns>
AdjacencyGraph ReadAdjacency(String matrix);
}
}
......@@ -165,15 +165,5 @@ namespace SparseTransform.Convert
}
return firstDataLine;
}
public BipartiteGraph ReadBipartite(string matrix)
{
throw new NotImplementedException();
}
public AdjacencyGraph ReadAdjacency(string matrix)
{
throw new NotImplementedException();
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment