Skip to main content

ResQ.Core

PreAlert Class

Represents a pre-alert from the PDIE (Predictive Disaster Intelligence Engine).
public record PreAlert : System.IEquatable<ResQ.Core.PreAlert>
Inheritance System.Object → PreAlert Implements System.IEquatable<PreAlert>

Example

var alert = new PreAlert
{
    AlertId = "pa-001",
    SectorId = "sector-7",
    PredictedDisasterType = DisasterType.Wildfire,
    Probability = 0.85f,
    ForecastHorizonHours = 24,
    Severity = AlertSeverity.High
};

Remarks

Pre-alerts are predictions of potential disasters before they occur, allowing for proactive response preparation. They include probability, timing, and severity estimates.
Properties
AlertIdUnique identifier for this pre-alert.
CreatedAtUTC timestamp when the pre-alert was created.
ForecastHorizonHoursForecast time horizon in hours.
PredictedDisasterTypePredicted type of disaster.
ProbabilityProbability of the disaster occurring (0.0 to 1.0).
SectorIdGeographic sector this alert applies to.
SeveritySeverity level of the predicted disaster.