Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

RegisteredMultiArray.h File Reference

Data structure for two-dimensional mappings that are sparse in the second dimension. TODO should be moved to a central location. More...

#include <ogdf/basic/basic.h>
#include <ogdf/basic/internal/copy_move.h>
#include <cstddef>
#include <cstdint>
#include <stdexcept>
#include <tuple>
#include <unordered_map>
#include <utility>

Go to the source code of this file.

Classes

class  ogdf::RegisteredMultiArray< Key1, Key2, Value, BaseArray, array_max >
 Data structure for two-dimensional mappings that are sparse in the second dimension. More...
 
struct  ogdf::UsuallySmallMap< Key2, Value, array_max >
 A wrapper around std::map that uses a constant-size array (or only a single value) plus linear search until the map grows too big. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Detailed Description

Data structure for two-dimensional mappings that are sparse in the second dimension. TODO should be moved to a central location.

Author
Simon D. Fink ogdf@.nosp@m.niko.nosp@m..fink.nosp@m..bay.nosp@m.ern
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file RegisteredMultiArray.h.