|
bool | ogdf::equalIgnoreCase (const string &str1, const string &str2) |
| Compares the two strings str1 and str2 , ignoring the case of characters. More...
|
|
bool | ogdf::prefixIgnoreCase (const string &prefix, const string &str) |
| Tests if prefix is a prefix of str , ignoring the case of characters. More...
|
|
double | ogdf::randomDouble (double low, double high) |
| Returns a random double value from the interval [low , high ). More...
|
|
double | ogdf::randomDoubleExponential (double beta) |
| Returns a random double value from the exponential distribution. More...
|
|
double | ogdf::randomDoubleNormal (double m, double sd) |
| Returns a random double value from the normal distribution with mean m and standard deviation sd. More...
|
|
int | ogdf::randomNumber (int low, int high) |
| Returns random integer between low and high (including). More...
|
|
long unsigned int | ogdf::randomSeed () |
| Returns a random value suitable as initial seed for a random number engine. More...
|
|
void | ogdf::removeTrailingWhitespace (string &str) |
| Removes trailing space, horizontal and vertical tab, feed, newline, and carriage return from str . More...
|
|
template<typename CONTAINER , typename T > |
int | ogdf::searchPos (const CONTAINER &C, const T &x) |
| Searches for the position of x in container C ; returns -1 if not found. More...
|
|
void | ogdf::setSeed (int val) |
| Sets the seed for functions like randomSeed(), randomNumber(), randomDouble(). More...
|
|
double | ogdf::usedTime (double &T) |
| Returns used CPU time from T to current time and assigns current time to T. More...
|
|
Basic declarations, included by all source files.
- Author
- Carsten Gutwenger
- 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 basic.h.