My Project  UNKNOWN_GIT_VERSION
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 **/
25 class REvaluation : public Evaluation
26 {
27 protected: // neeeded in FFREvaluation
29 public:
30  REvaluation() : Evaluation(), gen(0) {}
31  REvaluation( int min0, int max0, const CFRandom & sample ) : Evaluation( min0, max0 ), gen( sample.clone() ) {}
32  REvaluation( const REvaluation & e );
33  ~REvaluation();
34  REvaluation& operator= ( const REvaluation & e );
35  void nextpoint();
36  void nextpoint(int n);
37 };
38 
39 /*ENDPUBLIC*/
40 
41 #endif /* ! INCL_CF_REVAL_H */
canonicalform.h
REvaluation::operator=
REvaluation & operator=(const REvaluation &e)
Definition: cf_reval.cc:31
cf_eval.h
Evaluation
class to evaluate a polynomial at points
Definition: cf_eval.h:31
cf_random.h
CFRandom
virtual class for random element generation
Definition: cf_random.h:21
REvaluation::REvaluation
REvaluation()
Definition: cf_reval.h:30
REvaluation
class to generate random evaluation points
Definition: cf_reval.h:25
REvaluation::~REvaluation
~REvaluation()
Definition: cf_reval.cc:24
REvaluation::gen
CFRandom * gen
Definition: cf_reval.h:28
REvaluation::nextpoint
void nextpoint()
Definition: cf_reval.cc:46
REvaluation::REvaluation
REvaluation(int min0, int max0, const CFRandom &sample)
Definition: cf_reval.h:31