Lotka-Volterra

class otp.lotkavolterra.LotkaVolterraProblem

Bases: otp.Problem

Constructor Summary
LotkaVolterraProblem(timeSpan, y0, parameters)

Constructs a problem

Parameters

class otp.lotkavolterra.LotkaVolterraParameters

Bases: otp.Parameters

Parameters for the Lotka–Volterra problem.

Constructor Summary
LotkaVolterraParameters(varargin)

Create a Lotka–Volterra parameters object.

Parameters:

varargin – A variable number of name-value pairs. A name can be any property of this class, and the subsequent value initializes that property.

Property Summary
PreyBirthRate

PREYBIRTHRATE determines the rate at which the prey is born it is a source term

PreyDeathRate

PREYDEATHRATE determines how fast the prey is killed by the predators

PredatorDeathRate

PREDATORDEATHRATE is a sink term for the predators

PredatorBirthRate

PREDATORBIRTHRATE determines how fast the predators are born based on the amount of prey that exists

Presets