Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
|
#include <eratosthenes_optimized.h>
Public Member Functions | |
void | initialize (int size_) |
bool | isPrime (int p) |
Private Attributes | |
std::vector< bool > | data |
int | size |
void math::prime_sieve::EratosthenesOptimized::initialize | ( | int | size_ | ) | [inline] |
bool math::prime_sieve::EratosthenesOptimized::isPrime | ( | int | p | ) | [inline] |
std::vector<bool> math::prime_sieve::EratosthenesOptimized::data [private] |
int math::prime_sieve::EratosthenesOptimized::size [private] |