NetworKit
Large-Scale Network Analysis
Get Started
Documentation
Features
News
Publications
NetworKit Day
Credits & References
Python Documentation
C++ Documentation
Page Hierarchy
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
Enums
Functions
Variables
Defines
Typedefs
Directories
Pages
Jupyter Notebook
Developer Guide
Template Class LevelHierarchy
¶
Defined in
File LevelHierarchy.hpp
Class Documentation
¶
template
<
class
Matrix
>
class
LevelHierarchy
¶
Public Functions
LevelHierarchy
(
)
=
default
¶
void
addFinestLevel
(
const
Matrix
&
A
)
¶
void
addEliminationLevel
(
const
Matrix
&
A
,
const
std
::
vector
<
EliminationStage
<
Matrix
>
>
&
coarseningStages
)
¶
void
addAggregationLevel
(
const
Matrix
&
A
,
const
Matrix
&
P
,
const
Matrix
&
R
)
¶
void
setLastAsCoarsest
(
)
¶
inline
const
DenseMatrix
&
getCoarseMatrix
(
)
const
¶
inline
count
size
(
)
const
¶
LevelType
getType
(
index
levelIdx
)
const
¶
Level
<
Matrix
>
&
at
(
index
levelIdx
)
¶
const
Level
<
Matrix
>
&
at
(
index
levelIdx
)
const
¶
double
cycleIndex
(
index
levelIdx
)
const
¶