dp_fires: Test whether a DecisionPoint fires for a given event

View source: R/decision_points.R

dp_firesR Documentation

Test whether a DecisionPoint fires for a given event

Description

Used internally by the Engine to detect decision points during the simulation loop. A group-only DecisionPoint with an explicit NULL trigger never fires through this direct path.

Usage

dp_fires(dp, event)

Arguments

dp

A DecisionPoint object.

event

An event list with at least event_type.

Value

Logical scalar.


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