Presentation is loading. Please wait.

Presentation is loading. Please wait.

For Monday Take home exam due Exam 1. For Wednesday Read chapter 10, sections 1-2 Prolog Handout 4.

Similar presentations


Presentation on theme: "For Monday Take home exam due Exam 1. For Wednesday Read chapter 10, sections 1-2 Prolog Handout 4."— Presentation transcript:

1 For Monday Take home exam due Exam 1

2 For Wednesday Read chapter 10, sections 1-2 Prolog Handout 4

3 Program 2

4 Negation Can’t say something is NOT true Use a closed world assumption Not simply means “I can’t prove that it is true”

5 Dynamic Predicates A way to write self-modifying code, in essence. Typically just storing data using Prolog’s built-in predicate database. Dynamic predicates must be declared as such.

6 Using Dynamic Predicates assert and variants retract –Fails if there is no clause to retract retractall –Doesn’t fail if no clauses

7 Exam Review?


Download ppt "For Monday Take home exam due Exam 1. For Wednesday Read chapter 10, sections 1-2 Prolog Handout 4."

Similar presentations


Ads by Google