Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hekate:hmr [2009/08/14 15:22]
gjn
hekate:hmr [2009/08/14 15:23]
gjn
Line 15: Line 15:
 See the [[HaDEs]] page for an overview. See the [[HaDEs]] page for an overview.
  
-==== Example ====+===== Example ​=====
  
 An example excerpt of HMR is given below: An example excerpt of HMR is given below:
Line 109: Line 109:
   * //type// - a field that contains a name of a type defined as //xtype//. This field denotes the attribute'​s type.   * //type// - a field that contains a name of a type defined as //xtype//. This field denotes the attribute'​s type.
   * //comm// - a field that describes attribute'​s relation to the world. If the attribute is //in// it means that a value of it is supposed to be given by the user; if the attribute is out it means that the value of it should be presented to the user; if attribute is inter it means that its value is set by the system as a result of inference process, but it;s not relevant to the user; if the attribute is comm, it means that it's both in and out.   * //comm// - a field that describes attribute'​s relation to the world. If the attribute is //in// it means that a value of it is supposed to be given by the user; if the attribute is out it means that the value of it should be presented to the user; if attribute is inter it means that its value is set by the system as a result of inference process, but it;s not relevant to the user; if the attribute is comm, it means that it's both in and out.
-  * //​callback//​ - a field that contains an information about which callback is supposed to be fired for the attribute. The list should look as follows: //​[callback_name,​ [callback_parameters] ]//, where callback_name is a name of defined callback (see [[heart-howto#​callbacks_definitions]]),​ and callback_parameters is a list of parameters that the callback takes.+  * //​callback//​ - a field that contains an information about which callback is supposed to be fired for the attribute. The list should look as follows: //​[callback_name,​ [callback_parameters] ]//, where callback_name is a name of defined callback (see [[heart_howto#​callbacks_definitions]]),​ and callback_parameters is a list of parameters that the callback takes.
   * //abbrev// - a field that contains short name of the attribute. ​   * //abbrev// - a field that contains short name of the attribute. ​
   * //desc// - a field that contains longer description of the attribute.   * //desc// - a field that contains longer description of the attribute.
Line 239: Line 239:
   * %STRING% - is an unique ID that is automatically generated every time a inference process is fired.   * %STRING% - is an unique ID that is automatically generated every time a inference process is fired.
   * %LIST% - is a list of two-elements list of the form:   * %LIST% - is a list of two-elements list of the form:
-    * [entity_id, state_id] - where //​entity_id//​ is a name of entity after which a state of the system was capture (it can be name of a table, name of a rule). Trajectory contains as a first element state of the system before inference process; entity for this state is called //​start//​. ​ \\ The //​state_id//​ is a name of a [[xstat/1]] record where the state of the system was saved.+    * [entity_id, state_id] - where //​entity_id//​ is a name of entity after which a state of the system was capture (it can be name of a table, name of a rule). Trajectory contains as a first element state of the system before inference process; entity for this state is called //​start//​. ​ \\ The //​state_id//​ is a name of a ''​xstat/1'' ​record where the state of the system was saved.
  
  
hekate/hmr.txt · Last modified: 2019/06/27 15:49 (external edit)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0