source: git/factory/cf_reval.h @ cadf9e

spielwiese
Last change on this file since cadf9e was b52d27, checked in by Martin Lee <martinlee84@…>, 10 years ago
chg: more docu changes
  • Property mode set to 100644
File size: 739 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2
3#ifndef INCL_CF_REVAL_H
4#define INCL_CF_REVAL_H
5
6// #include "config.h"
7
8#include "canonicalform.h"
9#include "cf_eval.h"
10#include "cf_random.h"
11
12/*BEGINPUBLIC*/
13
14/**
15 * class to generate random points
16**/
17class REvaluation : public Evaluation
18{
19protected: // neeeded in FFREvaluation
20    CFRandom * gen;
21public:
22    REvaluation() : Evaluation(), gen(0) {}
23    REvaluation( int min0, int max0, const CFRandom & sample ) : Evaluation( min0, max0 ), gen( sample.clone() ) {}
24    REvaluation( const REvaluation & e );
25    ~REvaluation();
26    REvaluation& operator= ( const REvaluation & e );
27    void nextpoint();
28    void nextpoint(int n);
29};
30
31/*ENDPUBLIC*/
32
33#endif /* ! INCL_CF_REVAL_H */
Note: See TracBrowser for help on using the repository browser.