King Saber
King Saber

Reputation: 559

What is a clause when talking about CSP/SAT?

Here is the question:

Consider the following rules and definitions for a sports league scheduling problem:

(a) (25 pts.) Encode the Sports League Scheduling problem as a Boolean satisfiability problem. Hints:

There is one question: Give the clauses that state that exactly one team plays in each subslot. How many clauses are there?

My question: what does "clauses" here actually mean? I post this question in the hope that somebody could tell me what the question is trying to ask, I am not looking for a direct solution.

Thanks if anybody could help.

Upvotes: 0

Views: 950

Answers (2)

CliffordVienna
CliffordVienna

Reputation: 8235

You are looking for an introduction to SAT. Don Knuth gave a lecture at JKU earlier this year, that is a nice introduction to the topic. In the lecture he also gives away the link to the preview version of the SAT chapter in TAOCP. Find the recording of the lecture here:

The lecture (and the book chapter) cover the basic terminology of SAT solving, how to encode a wide range of problems using CNF clauses and how SAT solvers work.

Upvotes: 0

timrau
timrau

Reputation: 23058

In terms of CNF SAT, "clause" is a finite disjunction of literals, in which a literal is a variable or its negation

Read Clause on Wikipedia for more detailed description.

Most of the modern Boolean SAT solvers accept CNF formula as their input.

Upvotes: 1

Related Questions