My Project
Loading...
Searching...
No Matches
cf_reval.h
Go to the documentation of this file.
1/* emacs edit mode for this file is -*- C++ -*- */
2
3/**
4 * @file cf_reval.h
5 *
6 * generate random evaluation points
7**/
8
9#ifndef INCL_CF_REVAL_H
10#define INCL_CF_REVAL_H
11
12// #include "config.h"
13
14#include "canonicalform.h"
15#include "cf_eval.h"
16#include "cf_random.h"
17
18/*BEGINPUBLIC*/
19
20/**
21 * class to generate random evaluation points
22 *
23 * @sa cf_eval.h
24**/
25class REvaluation : public Evaluation
26{
27protected: // neeeded in FFREvaluation
29public:
31 REvaluation( int min0, int max0, const CFRandom & sample ) : Evaluation( min0, max0 ), gen( sample.clone() ) {}
32 REvaluation( const REvaluation & e );
35 void nextpoint();
36 void nextpoint(int n);
37};
38
39/*ENDPUBLIC*/
40
41#endif /* ! INCL_CF_REVAL_H */
Header for factory's main class CanonicalForm.
evaluate polynomials at points
generate random integers, random elements of finite fields
virtual class for random element generation
Definition: cf_random.h:21
class to evaluate a polynomial at points
Definition: cf_eval.h:32
class to generate random evaluation points
Definition: cf_reval.h:26
~REvaluation()
Definition: cf_reval.cc:24
REvaluation()
Definition: cf_reval.h:30
CFRandom * gen
Definition: cf_reval.h:28
REvaluation(int min0, int max0, const CFRandom &sample)
Definition: cf_reval.h:31
void nextpoint()
Definition: cf_reval.cc:46
REvaluation & operator=(const REvaluation &e)
Definition: cf_reval.cc:31