Logo 
Search:

Artificial Intelligence Articles

Submit Article
Home » Articles » Artificial Intelligence » ProLogRSS Feeds

ProLog Program of marcus

Posted By: Milind Mishra     Category: Artificial Intelligence     Views: 4639

Program of marcus...............

Code for ProLog Program of marcus in Artificial Intelligence

predicates
    man(symbol)
    pompeian(symbol)
    die(symbol,integer)
    alive(symbol,integer)
    gt(integer,integer)
    
clauses
    man(marcus).
    pompeian(marcus).
    die(X,Now) :- pompeian(X),gt(Now,79).
    alive(X,Now) :- not(die(X,Now)).
    gt(Op1,Op2) :- Op1 > Op2.    
  
Share: 


Didn't find what you were looking for? Find more on ProLog Program of marcus Or get search suggestion and latest updates.

Milind Mishra
Milind Mishra author of ProLog Program of marcus is from India.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!