Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

utils.h File Reference
#include <cstddef>

Go to the source code of this file.

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::energybased
 
 ogdf::energybased::dtree
 

Functions

template<typename IntType , int Dim>
void ogdf::energybased::dtree::interleaveBits (const IntType coords[Dim], IntType mnr[Dim])
 
template<>
void ogdf::energybased::dtree::interleaveBits< unsigned int, 1 > (const unsigned int coords[1], unsigned int mnr[1])
 
template<>
void ogdf::energybased::dtree::interleaveBits< unsigned int, 2 > (const unsigned int coords[2], unsigned int mnr[2])
 
template<typename IntType , int Dim>
int ogdf::energybased::dtree::lowestCommonAncestorLevel (const IntType a[Dim], const IntType b[Dim])
 
template<>
int ogdf::energybased::dtree::lowestCommonAncestorLevel< unsigned int, 1 > (const unsigned int a[1], const unsigned int b[1])
 
template<typename IntType , int Dim>
bool ogdf::energybased::dtree::mortonComparerEqual (const IntType a[Dim], const IntType b[Dim])
 
template<>
bool ogdf::energybased::dtree::mortonComparerEqual< unsigned int, 1 > (const unsigned int a[1], const unsigned int b[1])
 
template<>
bool ogdf::energybased::dtree::mortonComparerEqual< unsigned int, 2 > (const unsigned int a[2], const unsigned int b[2])
 
template<typename IntType , int Dim>
bool ogdf::energybased::dtree::mortonComparerLess (const IntType a[Dim], const IntType b[Dim])
 
template<>
bool ogdf::energybased::dtree::mortonComparerLess< unsigned int, 1 > (const unsigned int a[1], const unsigned int b[1])
 
template<>
bool ogdf::energybased::dtree::mortonComparerLess< unsigned int, 2 > (const unsigned int a[2], const unsigned int b[2])
 
template<typename IntType >
int ogdf::energybased::dtree::mostSignificantBit (IntType x)
 

Detailed Description

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 utils.h.