BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
BALL::ScoringBaseFunction Class Reference

#include <BALL/SCORING/COMMON/baseFunction.h>

Inheritance diagram for BALL::ScoringBaseFunction:
BALL::FermiBaseFunction BALL::LinearBaseFunction

Public Types

enum  BaseFunctionType { BASE_FUNCTION_TYPE__LINEAR, BASE_FUNCTION_TYPE__FERMI }
 

Public Member Functions

 ScoringBaseFunction ()
 
 ScoringBaseFunction (float lower, float upper)
 
virtual ~ScoringBaseFunction ()
 
virtual void setLower (float lower)
 
virtual void setUpper (float upper)
 
virtual float calculate (float x) const
 
virtual float calculate (float x, float lower, float upper)
 

Protected Attributes

float lower_
 
float upper_
 

Detailed Description

Define the interface for the base function

Definition at line 14 of file baseFunction.h.

Member Enumeration Documentation

Enumerator
BASE_FUNCTION_TYPE__LINEAR 
BASE_FUNCTION_TYPE__FERMI 

Definition at line 21 of file baseFunction.h.

Constructor & Destructor Documentation

BALL::ScoringBaseFunction::ScoringBaseFunction ( )
BALL::ScoringBaseFunction::ScoringBaseFunction ( float  lower,
float  upper 
)
virtual BALL::ScoringBaseFunction::~ScoringBaseFunction ( )
virtual

Member Function Documentation

virtual float BALL::ScoringBaseFunction::calculate ( float  x) const
virtual
virtual float BALL::ScoringBaseFunction::calculate ( float  x,
float  lower,
float  upper 
)
virtual
virtual void BALL::ScoringBaseFunction::setLower ( float  lower)
virtual

Reimplemented in BALL::FermiBaseFunction.

virtual void BALL::ScoringBaseFunction::setUpper ( float  upper)
virtual

Reimplemented in BALL::FermiBaseFunction.

Member Data Documentation

float BALL::ScoringBaseFunction::lower_
protected

Definition at line 65 of file baseFunction.h.

float BALL::ScoringBaseFunction::upper_
protected

Definition at line 68 of file baseFunction.h.