Skip to content

Commit

Permalink
CSRMatrix now uses templates
Browse files Browse the repository at this point in the history
Signed-off-by: Eugenio Angriman <eugenio.angriman@informatik.hu-berlin.de>
  • Loading branch information
angriman committed Jun 27, 2019
1 parent 20f23f8 commit cd5ad55
Show file tree
Hide file tree
Showing 23 changed files with 1,238 additions and 1,314 deletions.
1,220 changes: 1,220 additions & 0 deletions include/networkit/algebraic/CSRGeneralMatrix.hpp

Large diffs are not rendered by default.

612 changes: 0 additions & 612 deletions include/networkit/algebraic/CSRMatrix.hpp

This file was deleted.

2 changes: 1 addition & 1 deletion include/networkit/centrality/SpanningEdgeCentrality.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <networkit/numerics/LAMG/Lamg.hpp>
#include <networkit/centrality/Centrality.hpp>
#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>


namespace NetworKit {
Expand Down
2 changes: 1 addition & 1 deletion include/networkit/distance/CommuteTimeDistance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef COMMUTETIMEDIST_H_
#define COMMUTETIMEDIST_H_

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>
#include <networkit/numerics/LAMG/Lamg.hpp>
#include <networkit/graph/Graph.hpp>
#include <networkit/base/Algorithm.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/networkit/io/MatrixReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef MATRIXREADER_H_
#define MATRIXREADER_H_

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>

namespace NetworKit {

Expand Down
2 changes: 1 addition & 1 deletion include/networkit/numerics/ConjugateGradient.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <networkit/numerics/LinearSolver.hpp>
#include <networkit/algebraic/Vector.hpp>
#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>

namespace NetworKit {

Expand Down
2 changes: 1 addition & 1 deletion include/networkit/numerics/LAMG/Level/Level.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef LEVEL_H_
#define LEVEL_H_

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>

namespace NetworKit {

Expand Down
2 changes: 1 addition & 1 deletion include/networkit/numerics/LAMG/MultiLevelSetup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <networkit/numerics/LAMG/LevelHierarchy.hpp>
#include <networkit/numerics/Smoother.hpp>
#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>

#include <limits>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef NETWORKIT_CPP_NUMERICS_PRECONDITIONER_DIAGONALPRECONDITIONER_H_
#define NETWORKIT_CPP_NUMERICS_PRECONDITIONER_DIAGONALPRECONDITIONER_H_

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>

namespace NetworKit {

Expand Down
2 changes: 1 addition & 1 deletion include/networkit/numerics/Smoother.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef SMOOTHER_H_
#define SMOOTHER_H_

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>
#include <networkit/algebraic/Vector.hpp>

#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion include/networkit/viz/MaxentStress.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <networkit/viz/GraphLayoutAlgorithm.hpp>
#include <networkit/numerics/LinearSolver.hpp>
#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>
#include <networkit/viz/Octree.hpp>

#include <networkit/distance/BFS.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/networkit/viz/PivotMDS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <networkit/viz/GraphLayoutAlgorithm.hpp>

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/CSRGeneralMatrix.hpp>
#include <networkit/algebraic/Vector.hpp>

#include <networkit/graph/Graph.hpp>
Expand Down
1 change: 0 additions & 1 deletion networkit/cpp/algebraic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
networkit_add_module(algebraic
CSRMatrix.cpp
DenseMatrix.cpp
DynamicMatrix.cpp
Vector.cpp
Expand Down
Loading

0 comments on commit cd5ad55

Please sign in to comment.