r-io suiter-io suitesupervision docs
← Supervision
Supervision / Strategy 08 · checked by default

Prospective distance

The other strategies compare the plan with the field as it is now. This one compares it with the field as the forecasts foresee it: distance(EXPECTED, ACTIVE + PROJECTED(t)). A problem (actuality, potentiality, risk) that a forecast projects and that no objective of the supervised solution treats or prevents raises the Foreseen category before it reaches the field.

implemented byProspectiveDistanceStrategy · gind-npm-strategy-supervision-prospective-distance
01 · Projections

What the forecasts foresee

From the forecast projection — at each computation the supervision engine adds to the context (projections) the last projection of each forecast of the knowledge space, read from the forecast projection service. A projection gives, for each projected node, its distribution over the dates of the forecast: at each date, the share of the forecast curves on which the node is ACTIVE (active) and, for a risk, the share on which its probability reaches 1 (certain).

No forecast, no value — when the knowledge space has no projection the strategy returns nothing and Foreseen keeps no value from it. Dates are read on the clock of the use case, like every supervision computation: the past points of a projection only help to know when a problem appears, the dates judged are those after now.

02 · Problems foreseen

Which projected nodes count

A problem the plan ignores — a projected node counts when its concept (its own type, then its ancestors in the collaborative model) is Actuality, Potentiality or Risk, when the solution does not treat or prevent it, and when it is not already ACTIVE on the field: a problem already there is the business of Uncovered, a projected objective is not a problem.

Its share and the date it appears — the share of a node is its active share, or for a risk the larger of active and certain. It appears at the first date its share reaches the “Counted from” share; a node whose share never reaches it, or whose weight is 0, is ignored.

03 · Score

Weight × share × urgency

value(t) = Σ weight of its concept × share(t) × urgency (problems whose share(t) ≥ counted from)
urgency = 1 when it appears before the end of the plan, else max(floor, 1 − hours after the end / fading hours)
end of plan = the latest deadline of the objectives of the solution (now when they have none)
Foreseen = max over the dates judged of value(t) / threshold (1 at the threshold)

Dates judged — in Scan mode (default) every date of the projections after now is judged and the worst one wins: the box tells when the worst moment comes. In Fixed mode only the chosen date is judged.

Contributions — each problem counted at the worst date gives a contribution FORESEEN on the field world: its concept, its name, the forecast that projects it, the date it appears, its share at the worst date and, when lower than 1, its urgency (“it appears after the end of the plan”).

04 · Parameters

In the supervision box

Defaults of getDefaultConfiguration, edited by the extension prospectiveDistanceStrategy.

ParameterKeyDefaultMeaning
Judged atmodeSCANEvery date up to the horizon (worst point), or a fixed date (FIXED).
Fixed datefixedDateemptyDate (clock of the use case) judged in FIXED mode; empty: the horizon is scanned.
Counted fromminShare0.5Share of the forecast ensemble from which a projected problem counts.
Thresholdthreshold0.3Weighted sum at which Foreseen reaches 1.
Actuality weightweightActuality1The problem itself, the plan does not treat it.
Potentiality weightweightPotentiality0.5A possible problem.
Risk weightweightRisk0.3A risk the plan does not prevent.
Urgency fades overurgencyHours24 hHours over which the urgency of a problem appearing after the end of the plan falls from 1 to the floor.
Urgency floorurgencyFloor0.25Lowest urgency of a far problem; 0 ignores it.
05 · Example

With the default configuration

An actuality foreseen by every curve of a forecast before the end of the plan, and treated by no objective, weighs 1 × 1 × 1 = 1: Foreseen = 1 / 0.3 ≈ 3.33, the alert box opens on its own. A risk certain on 60 % of the curves weighs 0.3 × 0.6 = 0.18, i.e. 0.6 of the threshold.

The same actuality foreseen 12 h after the latest deadline of the objectives has an urgency of 1 − 12 / 24 = 0.5 and counts for half; from 18 h after it the floor 0.25 applies.

06 · Watch points

Good to know

Adaptation

The adaptation proposed for Foreseen is to deduce again with the forecasts, from what was done or from scratch (alert box of the supervision).

Two shares

“Counted from” belongs to this strategy. The “Forecast certainty” share of the supervision box (timeline of r-iota and deduction with the forecasts) is a separate setting, 50 % by default too.

No capture yet

This page has no capture of the box: the supervision walkthrough was taken with the seven earlier detectors.

gind-detection-engine-prospective-distance-strategy/…/ProspectiveDistanceStrategy.javaProblems foreseen, shares, urgency, scan or fixed date, contributions.
gind-npm-strategy-supervision-prospective-distance/src/prospective-distance-extension.tsThe parameters in the supervision box.
gind-webapp-r-iota/…/supervision/SupervisionEngine.javaProjections of the forecasts put in the context, clock of the use case.
gind-cep-forecast-projection/…/ForecastProjectionEngine.javaThe distributions (active, certain) over the curves of a forecast.
Supervision / Stratégie 08 · cochée par défaut

Distance prospective

Les autres stratégies comparent le plan au terrain tel qu’il est. Celle-ci le compare au terrain tel que les prévisions l’annoncent : distance(EXPECTED, ACTIVE + PROJECTED(t)). Un problème (actualité, potentialité, risque) projeté par une prévision et qu’aucun objectif de la solution supervisée ne traite ni ne prévient lève la catégorie Foreseen avant d’arriver sur le terrain.

implémentée parProspectiveDistanceStrategy · gind-npm-strategy-supervision-prospective-distance
01 · Projections

Ce que les prévisions annoncent

Depuis la projection des prévisions — à chaque calcul, le moteur de supervision ajoute au contexte (projections) la dernière projection de chaque prévision du knowledge space, lue auprès du service de projection des prévisions. Une projection donne, pour chaque nœud projeté, sa distribution sur les dates de la prévision : à chaque date, la part des courbes de la prévision sur lesquelles le nœud est ACTIVE (active) et, pour un risque, la part sur lesquelles sa probabilité atteint 1 (certain).

Sans prévision, pas de valeur — quand le knowledge space n’a aucune projection, la stratégie ne renvoie rien et Foreseen ne reçoit aucune valeur d’elle. Les dates se lisent sur l’horloge du cas d’usage, comme pour tout calcul de supervision : les points passés d’une projection servent seulement à savoir quand un problème apparaît, les dates jugées sont celles qui suivent maintenant.

02 · Problèmes prévus

Quels nœuds projetés comptent

Un problème que le plan ignore — un nœud projeté compte quand son concept (son type, puis ses ancêtres dans le modèle collaboratif) est Actuality, Potentiality ou Risk, quand la solution ne le traite ni ne le prévient, et quand il n’est pas déjà ACTIVE sur le terrain : un problème déjà présent relève d’Uncovered, un objectif projeté n’est pas un problème.

Sa part et sa date d’apparition — la part d’un nœud est sa part active, ou pour un risque la plus grande de active et certain. Il apparaît à la première date où sa part atteint la part « Counted from » ; un nœud dont la part ne l’atteint jamais, ou dont le poids vaut 0, est ignoré.

03 · Score

Poids × part × urgence

valeur(t) = Σ poids de son concept × part(t) × urgence (problèmes dont part(t) ≥ compté à partir de)
urgence = 1 s’il apparaît avant la fin du plan, sinon max(plancher, 1 − heures après la fin / heures d’atténuation)
fin du plan = la dernière échéance des objectifs de la solution (maintenant s’ils n’en ont pas)
Foreseen = max sur les dates jugées de valeur(t) / seuil (1 au seuil)

Dates jugées — en mode Scan (par défaut), chaque date des projections postérieure à maintenant est jugée et la pire l’emporte : la boîte dit quand arrive le pire moment. En mode Fixed, seule la date choisie est jugée.

Contributions — chaque problème compté à la pire date donne une contribution FORESEEN sur le monde terrain : son concept, son nom, la prévision qui le projette, sa date d’apparition, sa part à la pire date et, quand elle est inférieure à 1, son urgence (« il apparaît après la fin du plan »).

04 · Paramètres

Dans la boîte de supervision

Défauts de getDefaultConfiguration, édités par l’extension prospectiveDistanceStrategy.

ParamètreCléDéfautSens
Judged atmodeSCANChaque date jusqu’à l’horizon (pire point), ou une date fixe (FIXED).
Fixed datefixedDatevideDate (horloge du cas d’usage) jugée en mode FIXED ; vide : l’horizon est balayé.
Counted fromminShare0,5Part de l’ensemble des courbes à partir de laquelle un problème projeté compte.
Thresholdthreshold0,3Somme pondérée à laquelle Foreseen atteint 1.
Actuality weightweightActuality1Le problème lui-même, que le plan ne traite pas.
Potentiality weightweightPotentiality0,5Un problème possible.
Risk weightweightRisk0,3Un risque que le plan ne prévient pas.
Urgency fades overurgencyHours24 hHeures pendant lesquelles l’urgence d’un problème qui apparaît après la fin du plan descend de 1 au plancher.
Urgency floorurgencyFloor0,25Urgence minimale d’un problème lointain ; 0 l’ignore.
05 · Exemple

Avec la configuration par défaut

Une actualité annoncée par toutes les courbes d’une prévision avant la fin du plan, et traitée par aucun objectif, pèse 1 × 1 × 1 = 1 : Foreseen = 1 / 0,3 ≈ 3,33, la boîte d’alerte s’ouvre à elle seule. Un risque certain sur 60 % des courbes pèse 0,3 × 0,6 = 0,18, soit 0,6 du seuil.

La même actualité annoncée 12 h après la dernière échéance des objectifs a une urgence de 1 − 12 / 24 = 0,5 et compte pour moitié ; à partir de 18 h après, le plancher 0,25 s’applique.

06 · Points d’attention

Bon à savoir

Adaptation

L’adaptation proposée pour Foreseen est une nouvelle déduction avec les prévisions, depuis ce qui a été fait ou de zéro (boîte d’alerte de la supervision).

Deux parts

« Counted from » appartient à cette stratégie. La part « Forecast certainty » de la boîte de supervision (frise de r-iota et déduction avec les prévisions) est un réglage distinct, lui aussi à 50 % par défaut.

Pas encore de capture

Cette page n’a pas de capture de la boîte : le parcours de la supervision a été capturé avec les sept détecteurs précédents.

gind-detection-engine-prospective-distance-strategy/…/ProspectiveDistanceStrategy.javaProblèmes prévus, parts, urgence, balayage ou date fixe, contributions.
gind-npm-strategy-supervision-prospective-distance/src/prospective-distance-extension.tsLes paramètres dans la boîte de supervision.
gind-webapp-r-iota/…/supervision/SupervisionEngine.javaProjections des prévisions placées dans le contexte, horloge du cas d’usage.
gind-cep-forecast-projection/…/ForecastProjectionEngine.javaLes distributions (active, certain) sur les courbes d’une prévision.