Re: inappropriate upfront?



On Wed, 19 Apr 2006 19:36:58 +0200, Sasa wrote:

Let us assume that driven by tests, at some point I conclude that I need
some way of specifying decision rules in a declarative manner and build
the engine which applies the rules given the current state of the game.
Obviously there is a number of ways to achieve this. I can develop my
own minimalistic engine, I can use 3rd party library, I could consider
some other language such as Lisp or Prolog or try the interpreter
pattern with OO language (any other ideas?).

You don't necessarily need an interpreter and a brute-force search a-la
Prolog. It really depends on the rules. Rules, like ones of fuzzy control
language (FCL) can be compiled into some internal format. That could be a
decision tree, a NN etc. It could also be other knowledge representation.
You can even use the rules as an input for some supervised learning, train
on the rules as if they were training examples, and use the result as one
rule. I have used this approach in my system.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.



Relevant Pages

  • Re: SQL
    ... As long as the expression engine supports ... query language, in theory they could without busting relational. ... Thank you for explaining why ADT is so great! ...
    (comp.object)
  • Re: SQL
    ... SQL is more or less based on "COBOL thinking". ... possible nor most type-free that a relational query language can be. ... What makes up the expression engine is ... quotes or not in context typing. ...
    (comp.object)
  • Re: SQL
    ... As long as the expression engine supports ... query language, in theory they could without busting relational. ... numbers and strings to have a language or expression. ...
    (comp.object)
  • Re: 5th anniversary of 3.4.3, ideas
    ... like C++, Java, Python, D, etc. ... language that's gonna attract more developers is wise. ... NetHack gameplay from scratch" or instead "start with NetHack sources, ... In my opinion the best bet would be to create a roguelike engine from ...
    (rec.games.roguelike.nethack)
  • [ANN] ActiveBPEL 2.0.0 M2 released
    ... The ActiveBPELengine is a Business ... definitions created to the Business Process Execution Language for Web ... scripts found in projects/ddl.org.activebpel/ddl/patches. ...
    (comp.lang.java.announce)