139 lines
7.3 KiB
HTML
139 lines
7.3 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>Gem-graph: src/widget/one_rule/algebra/identity.c File Reference</title>
|
||
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../jquery.js"></script>
|
||
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
||
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="../../search/search.js"></script>
|
||
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr id="projectrow">
|
||
|
<td id="projectlogo"><img alt="Logo" src="../../logo icon mini.png"/></td>
|
||
|
<td id="projectalign">
|
||
|
<div id="projectname">Gem-graph<span id="projectnumber"> 0.1.0</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">A modelling tool based on rewriting of geometric graphs.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.9.8 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="../../menudata.js"></script>
|
||
|
<script type="text/javascript" src="../../menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(function() {
|
||
|
initMenu('../../',true,false,'search.php','Search');
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="main-nav"></div>
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<div id="MSearchResults">
|
||
|
<div class="SRPage">
|
||
|
<div id="SRIndex">
|
||
|
<div id="SRResults"></div>
|
||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_c570470bf3e4213fb57699dd2e921b84.html">widget</a></li><li class="navelem"><a class="el" href="../../dir_4ad5436e8901e05987b28c15dd7208e1.html">one_rule</a></li><li class="navelem"><a class="el" href="../../dir_353bba2ebd34a39dfa7a74e053a5dd2f.html">algebra</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle"><div class="title">identity.c File Reference</div></div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Gem-graph-client algebra rules identity.
|
||
|
<a href="#details">More...</a></p>
|
||
|
<div class="textblock"><code>#include "../../../../include/fsm.h"</code><br />
|
||
|
<code>#include "../../../../include/widget.h"</code><br />
|
||
|
<code>#include "../../../../include/signal.h"</code><br />
|
||
|
<code>#include <stdio.h></code><br />
|
||
|
<code>#include <stdlib.h></code><br />
|
||
|
</div><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr class="memitem:afcfab13d3504a69ec5f4ae6ad6974e29" id="r_afcfab13d3504a69ec5f4ae6ad6974e29"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d01/identity_8c.html#afcfab13d3504a69ec5f4ae6ad6974e29">widget_get_selected_rule_identity_btt</a> ()</td></tr>
|
||
|
<tr class="memdesc:afcfab13d3504a69ec5f4ae6ad6974e29"><td class="mdescLeft"> </td><td class="mdescRight">Builds the rule identity items list. <br /></td></tr>
|
||
|
<tr class="separator:afcfab13d3504a69ec5f4ae6ad6974e29"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Gem-graph-client algebra rules identity. </p>
|
||
|
<p>This file is part of Gem-graph. It organizes functions needed to describe a rule identity. </p>
|
||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||
|
<a id="afcfab13d3504a69ec5f4ae6ad6974e29" name="afcfab13d3504a69ec5f4ae6ad6974e29"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#afcfab13d3504a69ec5f4ae6ad6974e29">◆ </a></span>widget_get_selected_rule_identity_btt()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void * widget_get_selected_rule_identity_btt </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Builds the rule identity items list. </p>
|
||
|
<p>TODO // today, an arbitrary mock-up without any link to the XML model</p>
|
||
|
<p>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.).</p>
|
||
|
<p>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).</p>
|
||
|
<p>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.</p>
|
||
|
<dl class="section since"><dt>Since</dt><dd>2024-08</dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd>src/widget/one_rule/algebra/utilities/widget_set_item_text() </dd>
|
||
|
<dd>
|
||
|
src/fsm/dispatch/fsm_journal_event() < TODO (or not ?)</dd>
|
||
|
<dd>
|
||
|
src/widget/one_rule/algebra/dispatch/gtk_box_append() < TODO check items</dd></dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>rule identity </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|