BALL::ScoringBaseFunction Class Reference

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

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

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


Member Enumeration Documentation

Enumerator:
BASE_FUNCTION_TYPE__LINEAR 
BASE_FUNCTION_TYPE__FERMI 

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