Discussion:
Lab 2 UPDATE
(too old to reply)
Alexander Smith
2004-02-03 17:35:57 UTC
Permalink
Hi everyone,

There has been an update to lab 2. Figure 1 has also been corrected. (The
literals are in the correct order now.) Two changes have been made to
section 3.4 of the handout. Related changes have been made to the comment
blocks at the tops of two functions in SAT.c.

If you don't want to re-download SAT.c because you've already started
working on it, you can bring your copy up-to-date by replacing the comment
blocks in front of clauseStatus() and checkAssignment() with the
following:


At the top of clauseStatus():

/*
* Determine whether the specified clause is SAT, UNSAT, or not yet determined.
* A clause is SAT if at least one literal is satisfied, or it is an empty
* clause. (An empty clause is one with no literals.)
* A clause is UNSAT if all of its literals are unsatisfied.
* Otherwise it is UNDETERMINED.
*/


At the top of checkAssignment():

/*
* Check the current assignment of variables in the boolean formula
* stored in 'solver'.
* The formula stored in 'solver' is SAT if all its clauses are SAT, or it
* is an empty formula (having no clauses).
* It is UNSAT if any one of its clauses is UNSAT.
* Otherwise it is UNDETERMINED.
*/


(These changes take into account the ambiguities pointed out by Diego
Huang in his recent post "Case of 0 clauses or variables?".)

Alexander
Arshad Shahzad
2004-02-03 20:08:20 UTC
Permalink
Professor carter talked about pospoding the due date for lab two.
I was just wondering is it gonna be changed(may be friday of next week
instead of monday) or no?
Alexander Smith
2004-02-04 04:54:58 UTC
Permalink
Hi,

I have received word from Prof. Veneris (the course coordinator) that
there will be NO extension for lab 2.

The reason the lab is due on the Monday is to give the TAs time to get
your marks returned to you before reading week. Lab 3 will build on the
code you write for lab 2. We want to give you feedback on your lab 2 code
as soon as possible so that you don't end up getting most of lab 3
written, and then finding out that you have to re-write it due to some
problem you didn't know about with lab 2.

Alexander
Post by Arshad Shahzad
Professor carter talked about pospoding the due date for lab two.
I was just wondering is it gonna be changed(may be friday of next week
instead of monday) or no?
Loading...