70 lines
2.4 KiB
Groff
70 lines
2.4 KiB
Groff
.TH "src/widget/one_rule/algebra/identity.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
src/widget/one_rule/algebra/identity.c \- Gem-graph-client algebra rules identity\&.
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include '\&.\&./\&.\&./\&.\&./\&.\&./include/fsm\&.h'\fP
|
|
.br
|
|
\fC#include '\&.\&./\&.\&./\&.\&./\&.\&./include/widget\&.h'\fP
|
|
.br
|
|
\fC#include '\&.\&./\&.\&./\&.\&./\&.\&./include/signal\&.h'\fP
|
|
.br
|
|
\fC#include <stdio\&.h>\fP
|
|
.br
|
|
\fC#include <stdlib\&.h>\fP
|
|
.br
|
|
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "void * \fBwidget_get_selected_rule_identity_btt\fP ()"
|
|
.br
|
|
.RI "Builds the rule identity items list\&. "
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
Gem-graph-client algebra rules identity\&.
|
|
|
|
This file is part of Gem-graph\&. It organizes functions needed to describe a rule identity\&.
|
|
.SH "Function Documentation"
|
|
.PP
|
|
.SS "void * widget_get_selected_rule_identity_btt ()"
|
|
|
|
.PP
|
|
Builds the rule identity items list\&. TODO // today, an arbitrary mock-up without any link to the XML model
|
|
.PP
|
|
This 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\&.)\&.
|
|
.PP
|
|
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)\&.
|
|
.PP
|
|
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\&.
|
|
.PP
|
|
\fBSince\fP
|
|
.RS 4
|
|
2024-08
|
|
.RE
|
|
.PP
|
|
\fBSee also\fP
|
|
.RS 4
|
|
src/widget/one_rule/algebra/utilities/widget_set_item_text()
|
|
.PP
|
|
src/fsm/dispatch/fsm_journal_event() < TODO (or not ?)
|
|
.PP
|
|
src/widget/one_rule/algebra/dispatch/gtk_box_append() < TODO check items
|
|
.RE
|
|
.PP
|
|
\fBReturns\fP
|
|
.RS 4
|
|
rule identity
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for Gem-graph from the source code\&.
|