SteepestDescent: SteepestDescent

View source: R/runELA.R

SteepestDescentR Documentation

SteepestDescent

Description

Perform steepest descent on the energy landscape.

Starting from an initial binary state, the steepest descent algorithm will find a local minimum of the energy landscape. The computation is delegated to the C++ implementation SteepestDescent_cpp.

Usage

SteepestDescent(state, alpha, beta)

Arguments

state

Binary vector representing the initial state.

alpha

vector of implicit/explicit environmental effects.

beta

Matrix of species interactions.

Value

A numeric vector of the reached binary stable state and its energy.


ELAplus documentation built on May 28, 2026, 5:09 p.m.