is this task good for Prolog ?
From: Andy (djANTISPAMhd_at_computerman.de)
Date: 06/17/04
- Previous message: Robert Oschler: "mod_prolog or equivalent?"
- Next in thread: Maurizio Colucci: "Re: is this task good for Prolog ?"
- Reply: Maurizio Colucci: "Re: is this task good for Prolog ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Jun 2004 18:10:04 +0200
Hello everybody,
I would like to know is good for the following task or I should stick with
traditional C++ approach.
I have a list of operators:
1. Reads A, changes D
2. Reads B, changes C
3. Reads A, changes C
4. Reads C, changes B
5. Reads D, changes A
The program should find that operator 2 is not needed, because the following
operator 3 does not use C but also changes C. This means that operator 2 was
useless.
I also want that program discovered that operator 5 can be also placed after
operator 3 because D is changed in the very begining and last time A used
for reading is at 3rd operator.
How do you think is Prolog a right tool for it ?
- Previous message: Robert Oschler: "mod_prolog or equivalent?"
- Next in thread: Maurizio Colucci: "Re: is this task good for Prolog ?"
- Reply: Maurizio Colucci: "Re: is this task good for Prolog ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|