Peano
Loading...
Searching...
No Matches
CellCount.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
6
7namespace toolbox {
8 namespace loadbalancing {
9 namespace metrics {
10 class CellCount;
11 }
12 }
13}
14
15
24 public:
25 CellCount();
26 virtual ~CellCount() = default;
27
28 virtual std::string toString() const override;
29
30 virtual void updateGlobalView() override;
31
32 virtual double getCostOfLocalTree(int spacetreeNumber) const override;
33};
34
Cost metrics based solely on cell counts.
Definition CellCount.h:23
virtual std::string toString() const override
Feel free to invoke the variant below if you want.
Definition CellCount.cpp:12
virtual void updateGlobalView() override
Please overwrite in subclass and set the value of _localRankWeight.
Definition CellCount.cpp:17
virtual double getCostOfLocalTree(int spacetreeNumber) const override
Query cost of one tree.
Definition CellCount.cpp:22