Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
math::prime_sieve::SieveCallback Class Reference

#include <segmented_sieve.h>

List of all members.

Public Member Functions

virtual void foundPrime (long long int p)=0

Detailed Description

Because we can't store all primes found in segmented sieve due to space complexity of result, we need way to "stream" primes.


Member Function Documentation

virtual void math::prime_sieve::SieveCallback::foundPrime ( long long int  p) [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines