source: git/factory/cf_reval.h @ e4fe2b

jengelh-datetimespielwiese
Last change on this file since e4fe2b was e4fe2b, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
FIX: Fixed huge BUG in cf_gmp.h CHG: starting to cleanup factory
  • Property mode set to 100644
File size: 707 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id$ */
3
4#ifndef INCL_CF_REVAL_H
5#define INCL_CF_REVAL_H
6
7// #include "config.h"
8
9#include "canonicalform.h"
10#include "cf_eval.h"
11#include "cf_random.h"
12
13/*BEGINPUBLIC*/
14
15class REvaluation : public Evaluation
16{
17protected: // neeeded in FFREvaluation
18    CFRandom * gen;
19public:
20    REvaluation() : Evaluation(), gen(0) {}
21    REvaluation( int min0, int max0, const CFRandom & sample ) : Evaluation( min0, max0 ), gen( sample.clone() ) {}
22    REvaluation( const REvaluation & e );
23    ~REvaluation();
24    REvaluation& operator= ( const REvaluation & e );
25    void nextpoint();
26    void nextpoint(int n);
27};
28
29/*ENDPUBLIC*/
30
31#endif /* ! INCL_CF_REVAL_H */
Note: See TracBrowser for help on using the repository browser.