src/widget/one_rule/algebra/identity.c File Referencesrc/widget/one_rule/algebra/identity.cGem-graph-client algebra rules identity. #include "../../../../include/fsm.h"#include "../../../../include/widget.h"#include "../../../../include/signal.h"#include <stdio.h>#include <stdlib.h>Functions void * widget_get_selected_rule_identity_btt ()Builds the rule identity items list. Detailed DescriptionGem-graph-client algebra rules identity. This file is part of Gem-graph. It organizes functions needed to describe a rule identity. Function Documentationwidget_get_selected_rule_identity_btt()widget_get_selected_rule_identity_bttidentity.cidentity.cwidget_get_selected_rule_identity_bttvoid * widget_get_selected_rule_identity_btt ( )Builds the rule identity items list. TODO // today, an arbitrary mock-up without any link to the XML modelThis list contains all the items required to identify the rule. No item should be repeated. No item may contradict another. Completeness is required. Non-mandatory elements can be added (comments, etc.).The identity of each rule produced here is an arbitrary text used by each user to recognise each rule by name and distinguish it from others (it is desirable for the same rule identity to be shared by as many users as possible).For the automaton, the identity of each rule is given exclusively by its set of conditions. Two rules cannot share the same set of conditions. If several rules apply to the same set of conditions in the same local space, then they must each have an additional condition determining their probability of execution in the event of a conflict. If two rules share the same set of conditions, they must both be evaluated. If all the conditions of one rule are included in the conditions of another rule, then the other rule must be evaluated first.Since2024-08See alsosrc/widget/one_rule/algebra/utilities/widget_set_item_text() src/fsm/dispatch/fsm_journal_event() < TODO (or not ?)src/widget/one_rule/algebra/dispatch/gtk_box_append() < TODO check itemsReturnsrule identity