1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
/* 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 */
|