Loading...
Searching...
No Matches
cf_reval.h
Go to the documentation of this file.
/* emacs edit mode for this file is -*- C++ -*- */
/**
* @file cf_reval.h
*
* generate random evaluation points
**/
#ifndef INCL_CF_REVAL_H
#define INCL_CF_REVAL_H
// #include "config.h"
#include "canonicalform.h"
#include "cf_eval.h"
#include "cf_random.h"
/*BEGINPUBLIC*/
/**
* class to generate random evaluation points
*
* @sa cf_eval.h
**/
class REvaluation : public Evaluation
{
protected: // neeeded in FFREvaluation
CFRandom * gen;
public:
REvaluation() : Evaluation(), gen(0) {}
REvaluation( int min0, int max0, const CFRandom & sample ) : Evaluation( min0, max0 ), gen( sample.clone() ) {}
REvaluation( const REvaluation & e );
~REvaluation();
REvaluation& operator= ( const REvaluation & e );
void nextpoint();
void nextpoint(int n);
};
/*ENDPUBLIC*/
#endif /* ! INCL_CF_REVAL_H */
canonicalform.h
Header for factory's main class CanonicalForm.
cf_eval.h
evaluate polynomials at points
cf_random.h
generate random integers, random elements of finite fields
CFRandom
virtual class for random element generation
Definition cf_random.h:21
Evaluation::Evaluation
Evaluation()
Definition cf_eval.h:36
REvaluation
class to generate random evaluation points
Definition cf_reval.h:26
REvaluation::gen
CFRandom * gen
Definition cf_reval.h:28
REvaluation::~REvaluation
~REvaluation()
Definition cf_reval.cc:24
REvaluation::REvaluation
REvaluation()
Definition cf_reval.h:30
REvaluation::REvaluation
REvaluation(int min0, int max0, const CFRandom &sample)
Definition cf_reval.h:31
REvaluation::nextpoint
void nextpoint()
Definition cf_reval.cc:46
REvaluation::operator=
REvaluation & operator=(const REvaluation &e)
Definition cf_reval.cc:31