BALL 1.5.0
Loading...
Searching...
No Matches
baseFunction.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: baseFunction.h,v 1.1 2005/11/21 19:27:02 anker Exp $
5
6#ifndef BALL_SCORING_COMMON_BASEFUNCTION_H
7#define BALL_SCORING_COMMON_BASEFUNCTION_H
8
9namespace BALL
10{
11
15 {
16
17 public:
18
31
32
35 ;
36
38 ScoringBaseFunction(float lower, float upper)
39 ;
40
43 ;
44
46 virtual void setLower(float lower)
47 ;
48
50 virtual void setUpper(float upper)
51 ;
52
54 virtual float calculate(float x) const
55 ;
56
58 virtual float calculate(float x, float lower, float upper)
59 ;
60
61
62 protected:
63
64 //_
65 float lower_;
66
67 //_
68 float upper_;
69
70 };
71
72}
73
74
75#endif // BALL_SCORING_COMMON_BASEFUNCTION_H
ScoringBaseFunction(float lower, float upper)
virtual float calculate(float x, float lower, float upper)
virtual void setUpper(float upper)
virtual void setLower(float lower)
virtual float calculate(float x) const