state_summary_default: Default state summary function for TrajectoryRecord

View source: R/decision_points.R

state_summary_defaultR Documentation

Default state summary function for TrajectoryRecord

Description

Captures a compact named list of all current variable values from an entity. Used as the default summary_fn when state_before or state_after is requested in a TrajectoryLogger with detail = "summary".

Usage

state_summary_default(entity, ...)

Arguments

entity

An Entity object.

...

Reserved for future arguments (ignored).

Details

Implementors may supply a custom summary function with the same signature: ⁠function(entity, ...)⁠ returning a named list.

Value

A named list of variable values.


fluxCore documentation built on Sept. 22, 2026, 5:07 p.m.