<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://liftothers.org/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://liftothers.org/dokuwiki/feed.php">
        <title>BYU CS classes sc330_f2016</title>
        <description></description>
        <link>http://liftothers.org/dokuwiki/</link>
        <image rdf:resource="http://liftothers.org/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-11T10:38:49+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:prolog1&amp;rev=1625096526&amp;do=diff"/>
                <rdf:li rdf:resource="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:prolog2&amp;rev=1625096526&amp;do=diff"/>
                <rdf:li rdf:resource="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:smaplesolution.pl&amp;rev=1625096526&amp;do=diff"/>
                <rdf:li rdf:resource="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:sudoku&amp;rev=1625096526&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://liftothers.org/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>BYU CS classes</title>
        <link>http://liftothers.org/dokuwiki/</link>
        <url>http://liftothers.org/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:prolog1&amp;rev=1625096526&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-30T23:42:06+00:00</dc:date>
        <title>sc330_f2016:prolog1</title>
        <link>http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:prolog1&amp;rev=1625096526&amp;do=diff</link>
        <description>Objective

	*  Gain experience with logic programming.
	*  Become familiar with Prolog.
	*  Gain understanding of the declarative nature of prolog.

Installation

For this class, we use SWI-Prolog. You can download binaries for a Windows or macOS system here.

Also, there is an unofficial tutorial for installation</description>
    </item>
    <item rdf:about="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:prolog2&amp;rev=1625096526&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-30T23:42:06+00:00</dc:date>
        <title>sc330_f2016:prolog2</title>
        <link>http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:prolog2&amp;rev=1625096526&amp;do=diff</link>
        <description>Objective:

To gain deeper experience programming in Prolog, and to implement a simple Sudoku solver.

----------

Prerequisites:

Use the latest version of SWI-Prolog, as in the previous Prolog lab.

Template code (described below).

----------

Deliverables:

You will write a program in prolog that can solve</description>
    </item>
    <item rdf:about="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:smaplesolution.pl&amp;rev=1625096526&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-30T23:42:06+00:00</dc:date>
        <title>sc330_f2016:smaplesolution.pl</title>
        <link>http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:smaplesolution.pl&amp;rev=1625096526&amp;do=diff</link>
        <description>% Problem #1, &quot;It's a tie&quot;, Dell Logic Puzzles, October 1999
% Each man (mr so-and-so) got a tie from a relative.
tie(cupids).
tie(happy_faces).
tie(leprechauns).
tie(reindeer).

mr(crow).
mr(evans).
mr(hurley).
mr(speigler).

relative(daughter).
relative(father_in_law).
relative(sister).
relative(uncle).

solve :-
    tie(CrowTie), tie(EvansTie), tie(HurleyTie), tie(SpeiglerTie),
    all_different([CrowTie, EvansTie, HurleyTie, SpeiglerTie]),
    %This predicate first chooses some ties.
    %It…</description>
    </item>
    <item rdf:about="http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:sudoku&amp;rev=1625096526&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-30T23:42:06+00:00</dc:date>
        <title>sc330_f2016:sudoku</title>
        <link>http://liftothers.org/dokuwiki/doku.php?id=sc330_f2016:sudoku&amp;rev=1625096526&amp;do=diff</link>
        <description>% A Sudoku solver.  The basic idea is for each position,
% check that it is a digit with `digit`.  Then verify that the digit
% chosen doesn't violate any constraints (row, column, and cube).
% If no constraints were violated, proceed further.  If a constraint
% was violated, then backtrack to the last digit choice and move from
% there (the Prolog engine should handle this for you automatically).
% If we reach the end of the board with this scheme, it means that
% the whole thing is solved.

% …</description>
    </item>
</rdf:RDF>
