![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
A Hollings Disc curve class - type II functional response. More...
#include <CurveClasses.h>
Public Member Functions | |
HollingsDiscCurveClass (double a_A, double a_B, bool a_reversecurve, double a_MaxX, double a_MinX, const char *a_name) | |
virtual | ~HollingsDiscCurveClass () |
![]() | |
CurveClass (bool a_reversecurve, double a_MaxX, double a_MinX, const char *a_name) | |
virtual | ~CurveClass () |
virtual double | GetY (double a_X) |
virtual void | WriteDataFile (int a_step) |
Protected Member Functions | |
virtual double | DoCalc (double a_x) |
The specific calulation of y for a given x. More... | |
![]() | |
virtual void | CalculateCurveValues () |
fills in the curve for 10,000 values from MinX to MaxX More... | |
Protected Attributes | |
double | m_parameterA |
Parameter A. More... | |
double | m_parameterB |
Parameter B. More... | |
![]() | |
double | m_parameterMaxX |
A parameter for a the maximum value of X we consider. More... | |
double | m_parameterMinX |
A parameter for a the minimum value of X we consider. More... | |
double | m_step |
The size of each step on the X-axis. More... | |
double | m_step_inv |
The inverse of m_step. More... | |
double * | m_values |
The values of y we store for each X. More... | |
string | m_name |
A scaler for the x-values. More... | |
bool | m_reversecurve |
If true the values fall from 1 to zero, otherwise its zero to 1. More... | |
A Hollings Disc curve class - type II functional response.
HollingsDiscCurveClass::HollingsDiscCurveClass | ( | double | a_A, |
double | a_B, | ||
bool | a_reversecurve, | ||
double | a_MaxX, | ||
double | a_MinX, | ||
const char * | a_name | ||
) |
References CurveClass::CalculateCurveValues(), m_parameterA, and m_parameterB.
|
protectedvirtual |
The specific calulation of y for a given x.
Reimplemented from CurveClass.
References m_parameterA, and m_parameterB.
|
protected |
Parameter A.
Hollings disc curve takes two parameters
Referenced by DoCalc(), and HollingsDiscCurveClass().
|
protected |
Parameter B.
Referenced by DoCalc(), and HollingsDiscCurveClass().