BALL::ScoringBaseFunction Class Reference

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

Inheritance diagram for BALL::ScoringBaseFunction:
Inheritance graph
[legend]

List of all members.

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,
float  lower,
float  upper 
) [virtual]
virtual float BALL::ScoringBaseFunction::calculate ( float  x  )  const [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

Definition at line 65 of file baseFunction.h.

Definition at line 68 of file baseFunction.h.

Generated by  doxygen 1.6.3