Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
d7f1bd8b
Commit
d7f1bd8b
authored
May 12, 2021
by
niklas.baumgarten
Browse files
minor refactoring
parent
e6dc47dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
mlmc/src/estimators/datastructure/LevelMaps.cpp
View file @
d7f1bd8b
#include "LevelMaps.hpp"
#include "MultilevelEstimator.hpp"
#include "LevelMaps.hpp"
#include "MonteCarlo.hpp" // todo remove as soon as new MonteCarlo disappears
template
<
>
...
...
mlmc/src/estimators/datastructure/LevelMaps.hpp
View file @
d7f1bd8b
...
...
@@ -2,26 +2,16 @@
#define LEVELMAPS_HPP
#include "WelfordAggregate.hpp"
#include "MonteCarlo.hpp"
#include <math.h>
#include "Logging.hpp"
#include <vector>
#include <math.h>
#include <map>
/*
* Todo: make second key template for degree
* to realize MultidegreeMonteCarlo
*/
template
<
typename
T
>
struct
LevelMap
{
protected:
std
::
map
<
int
,
T
>
_levelMap
;
std
::
map
<
int
,
T
>
_levelMap
{}
;
public:
LevelMap
()
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment