class
#include <eckit/container/KDMapped.h>
KDMapped
Base classes
- struct StatCollector
Public types
- using Ptr = size_t
Constructors, destructors, conversion operators
Public functions
- auto operator=(const KDMapped& other) -> KDMapped&
-
template<class Node>auto base(const Node*) -> Node*
- auto root() const -> Ptr
- void root(Ptr r)
-
template<class Node>auto convert(Node* p) -> Ptr
-
template<class Node>auto convert(Ptr p, const Node* dummy) -> Node*
-
template<class Node, class A>auto newNode1(const A& a, const Node* dummy) -> Node*
-
template<class Node, class A, class B>auto newNode2(const A& a, const B& b, const Node* dummy) -> Node*
-
template<class Node, class A, class B, class C>auto newNode3(const A& a, const B& b, const C& c, const Node* dummy) -> Node*
-
template<class Node>void deleteNode(Ptr p, Node* n)
- void setMetadata(const void*, size_t)
- void getMetadata(void*, size_t)
-
template<class Metadata>void setMetadata(const Metadata& meta)
-
template<class Metadata>void getMetadata(Metadata& meta)
- auto nbItems() const -> size_t
- void statsCall()
- void statsVisitNode()
- void statsDepth(size_t d)
- void statsNewCandidateOK()
- void statsNewCandidateMiss()
- void statsCrossOver()
- void statsReset()
-
void print(std::
ostream& s) const -
void statsPrint(std::
ostream& s, bool fancy) const
Public variables
- size_t calls_
- size_t nodes_
- size_t depth_
- size_t newCandidateMiss_
- size_t newCandidateOK_
- size_t crossOvers_
Function documentation
void eckit:: KDMapped:: statsCall()
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsVisitNode()
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsDepth(size_t d)
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsNewCandidateOK()
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsNewCandidateMiss()
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsCrossOver()
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsReset()
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: print(std:: ostream& s) const
#include <eckit/container/StatCollector.h>
void eckit:: KDMapped:: statsPrint(std:: ostream& s,
bool fancy) const
#include <eckit/container/StatCollector.h>
Variable documentation
size_t eckit:: KDMapped:: calls_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMapped:: nodes_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMapped:: depth_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMapped:: newCandidateMiss_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMapped:: newCandidateOK_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMapped:: crossOvers_
#include <eckit/container/StatCollector.h>