P.S. : First sorry for my English ...
XSLT as a programming language for developing an expert system
---------------------------------------------------------------
The goal is to show that XSLT is a programming language making it possible
to develop an expert system (thanks to its inference engine) and to
implement it for the solving of a blocks world problem.
The blocks starting situation would be represented by a XML file containing
the blocks names and their higher and lower blocks (if they exist). The
objective to reach (Ex: "block A on block B and block C alone") would also
be included in a XML file.
The XLM syntax would look like this :
<Blockworld MaxFloors="0" TableSize="0">
<Block Name="a">
<Upperblock>b</Upperblock>
</Block>
<Block Name="b">
<Upperblock>b</Upperblock>
<Lowerblock>a</Lowerblock>
</Block>
</Blockworld>
The rules that will have to be used by the expert system (Ex: "if block A
free then take it and put it on the table"; "if block A on block B in the
objective then [if free] put A on B") would be represented in a XML file
(RuleML format?).
Thus the system would work as follow :
Step-by-step (for each pass), rule(s) that the XSLT inference engine chooses
(by a template-match) are applied to the tree representing the blocks world,
leading to the objective.
My problems are :
- How to implement this idea concretely ?
(- How to optimize the rules to solve this problem ?)
Do you see any ideas that could maybe help me developing this ?
Thanks !
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--