LoAdSG
prime.h
1
/**********************************************************************************
2
* Author: Christoph Pflaum, Riccarda Scherner-Griesshammer
3
* Department Informatik Lehrstuhl 10 - Systemsimulation
4
* Friedrich-Alexander Universität Erlangen-Nürnberg
5
*
6
*********************************************/
7
8
#ifndef PRIME_H
9
#define PRIME_H
10
11
class
PrimeNumbers {
12
public
:
13
static
unsigned
int
getPrimeForHash(
int
d) {
return
numberDim[d]; }
14
15
static
unsigned
long
getNextPrime(
unsigned
long
n) {
return
199831; }
// { return 11; }
16
private
:
17
static
const
unsigned
int
numberDim[20];
18
};
19
20
#endif
// PRIME_H
home
runner
work
LoAdSG
LoAdSG
library
source
primes
prime.h
Generated by
1.9.8