Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

ScoringBaseFunction Class Reference

Define the interface for the base function. More...

#include <baseFunction.h>

Inheritance diagram for ScoringBaseFunction:

FermiBaseFunction LinearBaseFunction List of all members.

Public Types

enum  BaseFunctionType { BASE_FUNCTION_TYPE__LINEAR, BASE_FUNCTION_TYPE__FERMI }

Public Member Functions

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

Protected Attributes

float lower_
float upper_

Detailed Description

Define the interface for the base function.