Created
November 12, 2012 01:34
-
-
Save hpneo/4057064 to your computer and use it in GitHub Desktop.
Regla de ejemplo (CLIPS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(assert (estadoAnimo depresivo)) | |
(assert (nivelInteres bajo)) | |
(assert (consumoDrogas no)) | |
(defrule episodioDepresivoMayor | |
(or (estadoAnimo depresivo) (estadoAnimo irritable)) | |
(nivelInteres bajo) | |
(perdidaPeso si) | |
(perdidaApetito si) | |
(capacidadConcentracion bajo) | |
(consumoDrogas no) | |
=> | |
(printout t "Posiblemente esté sufriendo un episodio depresivo" crlf) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment