basic question
Kaveh Kardan <[email protected]> Wed, 11 Oct 2006 19:01:12 -1000
| Newsgroups | gmane.lisp.lisa.general |
|---|---|
| Message-ID | <[email protected]> |
--===============2066960988==
Content-type: multipart/alternative;
boundary="Boundary_(ID_nX81C63DSx7u0LBLaklm4w)"
--Boundary_(ID_nX81C63DSx7u0LBLaklm4w)
Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Content-transfer-encoding: 7BIT
Greetings,
Please forgive this very basic question.
Do the "facts" of the system have to be CLOS classes or templates?
Is it possible to have LISA do inference over facts expressed as
thunks or arbitrary lisp expressions?
For example, I have a movie scene, and I am developing a system for
automatically placing the camera to best shoot the scene. I would
like to be able to express rules such as the following:
(defrule rule-1 (:cf 0.8)
(is-first-shot-of *scene*)
=>
(make-establishing-shot *scene*))
Also, how would one best express things such as the following as a rule?
(let ((actor-1 (current-subject *scene*))
(actor-2 (non-current-subject *scene*)))
(if (> (viewer-identification-with actor-1)
(viewer-identification-with actor-2))
(make-closeup-shot actor-1)
(make-over-the-shoulder-shot actor-1)))
I obviously am just starting investigating rule-based systems, so
pointers to articles or texts with a practical bent would be
appreciated.
Regards,
Kaveh
--Boundary_(ID_nX81C63DSx7u0LBLaklm4w)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">Greetings,<DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Please forgive this very =
basic question.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Do the "facts" of the =
system have to be CLOS classes or templates?=A0 Is it possible to have =
LISA do inference over facts expressed as thunks or arbitrary lisp =
expressions?</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>For example, I have a movie =
scene, and I am developing a system for automatically placing the camera =
to best shoot the scene.=A0 I would like to be able to express rules =
such as the following:</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>(defrule rule-1 (:cf =
0.8)</DIV><DIV>=A0 (is-first-shot-of *scene*)</DIV><DIV>=A0 =
=3D></DIV><DIV>=A0 (make-establishing-shot *scene*))</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Also, how would one best =
express things such as the following as a rule?</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>=A0 (let ((actor-1 =
(current-subject *scene*))</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </SPAN>(actor-2 (non-current-subject =
*scene*)))</DIV><DIV>=A0 =A0 (if (> (viewer-identification-with =
actor-1)</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </SPAN>=A0=A0 =
(viewer-identification-with actor-2))</DIV><DIV><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</SPAN>(make-closeup-shot actor-1)</DIV><DIV><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</SPAN>(make-over-the-shoulder-shot actor-1)))</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I obviously am just =
starting investigating rule-based systems, so pointers to articles or =
texts with a practical bent would be appreciated.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><DIV> <SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Courier; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px">Regards,<BR></P><P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR =
class=3D"khtml-block-placeholder"></P><P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px; min-height: =
14.0px">Kaveh</P></SPAN></DIV><BR></DIV></BODY></HTML>=
--Boundary_(ID_nX81C63DSx7u0LBLaklm4w)--
--===============2066960988==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--===============2066960988==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Lisa-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lisa-users
--===============2066960988==--