GridFire 0.6.0
General Purpose Nuclear Network
Loading...
Searching...
No Matches
trigger_result.h File Reference

Structured explanation node for trigger evaluations. More...

#include <vector>
#include <string>

Classes

struct  gridfire::trigger::TriggerResult
 

Namespaces

namespace  gridfire
 
namespace  gridfire::trigger
 

Detailed Description

Structured explanation node for trigger evaluations.

TriggerResult represents a tree describing why a trigger evaluated to true/false. Each node contains a boolean value, a short name, a human-readable description, and optional nested causes for composite triggers (e.g., AND/OR/NOT).

Example
// Produce a result and pretty-print it
gridfire::trigger::TriggerResult r{"A>5", "Threshold passed", true, {}};
// See procedures/trigger_pprint.h for printWhy()
// gridfire::trigger::printWhy(r);
Definition trigger_result.h:23