-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Part I and II (chapters 1-6) for Jekyll site
- Loading branch information
Showing
219 changed files
with
188,234 additions
and
6,285 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.76 KB
.sass-cache/648e5d0f313199085d09a3be31da4a3ce1f4b4eb/_variables.scssc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: page | ||
title: 404 - Page not found | ||
--- | ||
|
||
Sorry, we can't find that page that you're looking for. You can try again by going [back to the homepage]({{ site.baseurl }}/). | ||
|
||
[<img src="{{ site.baseurl }}/images/404.jpg" alt="Constructocat by https://github.com/jasoncostello" style="width: 400px;"/>]({{ site.baseurl }}/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<ul> | ||
<li> | ||
<span>Part Ⅰ Artificial Intelligence</span> | ||
<ol> | ||
<li><a href="{{ site.baseurl }}/intro-exercises">1. Introduction</a></li> | ||
<li><a href="{{ site.baseurl }}/agents-exercises">2. Intelligent Agent</a></li> | ||
</ol> | ||
</li> | ||
<li> | ||
<span>Part Ⅱ Problem-solving</span> | ||
<ol> | ||
<li><a href="{{ site.baseurl }}/search-exercises">3. Solving Problems By Searching</a></li> | ||
<li><a href="{{ site.baseurl }}/advanced-search-exercises">4. Beyond Classical Search</a></li> | ||
<li><a href="{{ site.baseurl }}/game-playing-exercises">5. Adversarial Search</a></li> | ||
<li><a href="{{ site.baseurl }}/csp-exercises">6. Constraint Satisfaction Problems</a></li> | ||
</ol> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% if site.google_analytics %} | ||
<!-- Google Analytics --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{ site.google_analytics }}', 'auto'); | ||
ga('send', 'pageview', { | ||
'page': '{{ site.baseurl }}{{ page.url }}', | ||
'title': '{{ page.title | replace: "'", "\\'" }}' | ||
}); | ||
</script> | ||
<!-- End Google Analytics --> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% capture page_url_without_index_html %}{{ page.url | remove: "/index.html" }}{% endcapture %} | ||
{% capture url_parts %} {{ page.url | remove: "/index.html" | replace:'/'," " }}{% endcapture %} | ||
{% capture num_parts %}{{ url_parts | number_of_words | minus: 1 }}{% endcapture %} | ||
{% assign previous="" %} | ||
<ul class="breadcrumb"> | ||
<label for="toggletoc" class="toc-icon"> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
</label> | ||
{% if page_url_without_index_html != "/" %} | ||
{% if num_parts == "0" or num_parts == "-1" %} | ||
<li><a class="breadcrumb-text" href="{{site.baseurl}}/{{previous}}">home</a> </li> | ||
{% else %} | ||
<li><a class="breadcrumb-text" href="{{site.baseurl}}/{{previous}}">home</a> » </li> | ||
|
||
{% for unused in page.content limit:num_parts %} | ||
{% capture first_word %}{{ url_parts | truncatewords:1 | remove:"..."}}{% endcapture %} | ||
{% capture previous %}{{ previous }}/{{ first_word }}{% endcapture %} | ||
<!-- {{ previous}} --> | ||
<li><a class="breadcrumb-text" href="{{ site.baseurl}}{{previous}}">{{ first_word }}</a> » </li> | ||
|
||
{% capture url_parts %}{{ url_parts | remove_first:first_word }}{% endcapture %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endif %} | ||
<label for="toggleheader" class="toggleheader" title="Toggle Header"> | ||
⏏ | ||
</label> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% if site.disqus %} | ||
<div class="comments"> | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
|
||
var disqus_shortname = '{{ site.disqus }}'; | ||
|
||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
|
||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
TeX: { | ||
equationNumbers: { | ||
autoNumber: "AMS" | ||
} | ||
}, | ||
tex2jax: { | ||
inlineMath: [ ['$','$'] ], | ||
displayMath: [ ['$$','$$'] ], | ||
processEscapes: true, | ||
}, | ||
"HTML-CSS": { | ||
preferredFont: "TeX", | ||
availableFonts: ["STIX","TeX"], | ||
styles: {".MathJax": {}} | ||
} | ||
}); | ||
</script> | ||
<script type="text/javascript" | ||
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<meta charset="utf-8" /> | ||
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> | ||
<meta http-equiv='X-UA-Compatible' content='IE=edge'> | ||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> | ||
|
||
{% if page.excerpt %} | ||
<meta name="description" content="{{ page.excerpt| strip_html }}" /> | ||
<meta property="og:description" content="{{ page.excerpt| strip_html }}" /> | ||
{% else %} | ||
<meta name="description" content="{{ site.description }}"> | ||
<meta property="og:description" content="{{ site.description }}" /> | ||
{% endif %} | ||
<meta name="author" content="{{ site.name }}" /> | ||
|
||
{% if page.title %} | ||
<meta property="og:title" content="{{ page.title }}" /> | ||
<meta property="twitter:title" content="{{ page.title }}" /> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% if site.footer-links.dribbble %}<a href="https://dribbble.com/{{ site.footer-links.dribbble }}"><i class="svg-icon dribbble"></i></a>{% endif %} | ||
{% if site.footer-links.email %}<a href="mailto:{{ site.footer-links.email }}"><i class="svg-icon email"></i></a>{% endif %} | ||
{% if site.footer-links.facebook %}<a href="https://www.facebook.com/{{ site.footer-links.facebook }}"><i class="svg-icon facebook"></i></a>{% endif %} | ||
{% if site.footer-links.flickr %}<a href="https://www.flickr.com/{{ site.footer-links.flickr }}"><i class="svg-icon flickr"></i></a>{% endif %} | ||
{% if site.footer-links.github %}<a href="https://github.com/{{ site.footer-links.github }}"><i class="svg-icon github"></i></a>{% endif %} | ||
{% if site.footer-links.instagram %}<a href="https://instagram.com/{{ site.footer-links.instagram }}"><i class="svg-icon instagram"></i></a>{% endif %} | ||
{% if site.footer-links.linkedin %}<a href="https://www.linkedin.com/in/{{ site.footer-links.linkedin }}"><i class="svg-icon linkedin"></i></a>{% endif %} | ||
{% if site.footer-links.pinterest %}<a href="https://www.pinterest.com/{{ site.footer-links.pinterest }}"><i class="svg-icon pinterest"></i></a>{% endif %} | ||
{% if site.footer-links.rss %}<a href="{{ site.baseurl }}/feed.xml"><i class="svg-icon rss"></i></a>{% endif %} | ||
{% if site.footer-links.twitter %}<a href="https://www.twitter.com/{{ site.footer-links.twitter }}"><i class="svg-icon twitter"></i></a>{% endif %} | ||
{% if site.footer-links.stackoverflow %}<a href="http://stackoverflow.com/{{ site.footer-links.stackoverflow }}"><i class="svg-icon stackoverflow"></i></a>{% endif %} | ||
{% if site.footer-links.youtube %}<a href="https://youtube.com/{{ site.footer-links.youtube }}"><i class="svg-icon youtube"></i></a>{% endif %} | ||
{% if site.footer-links.googleplus %}<a href="https://plus.google.com/{{ site.footer-links.googleplus }}"><i class="svg-icon googleplus"></i></a>{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> | ||
|
||
{% include meta.html %} | ||
|
||
<!--[if lt IE 9]> | ||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" /> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" /> | ||
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script> | ||
--> | ||
<!-- Created with Jekyll Now - http://github.com/barryclark/jekyll-now --> | ||
</head> | ||
|
||
<body> | ||
<input type="checkbox" id="toggleheader"> | ||
<div class="wrapper-masthead"> | ||
<div class="container"> | ||
<header class="masthead clearfix"> | ||
<center> | ||
<h1>Aritificial Intelligence: A Modern Approach</h1> | ||
<h3>Stuart J. Russell and Peter Norvig</h3> | ||
</center> | ||
</header> | ||
</div> | ||
</div> | ||
<input type="checkbox" id="toggletoc"> | ||
<div class="toc"> | ||
<div>Table of Contents</div> | ||
{% include aima-toc.html %} | ||
</div> | ||
<div id="main" role="main" class="container"> | ||
{% include breadcrumb.html %} | ||
{{ content }} | ||
</div> | ||
|
||
<div class="wrapper-footer"> | ||
<div class="container"> | ||
<footer class="footer"> | ||
<!-- Designed by <a href="http://nalinc.github.io" style="color:#2196F3">Nalin</a> ⚡ | ||
Written in <a href="#/" style="color: #2a932a">Markdown</a> ⚡ | ||
Powered by <a href="http://jekyllrb.com" style="color: #d73838">Jekyll</a> --> | ||
<!-- {% include svg-icons.html %} --> | ||
</footer> | ||
</div> | ||
</div> | ||
|
||
{% include analytics.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<article class="post"> | ||
|
||
<div class="entry"> | ||
{{ content }} | ||
</div> | ||
|
||
<!-- <div class="date"> | ||
Written on {{ page.date | date: "%B %e, %Y" }} | ||
</div> | ||
--> | ||
{% include disqus.html %} | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<article class="page"> | ||
|
||
<h1>{{ page.title }}</h1> | ||
|
||
<div class="entry"> | ||
{{ content }} | ||
</div> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<article class="post"> | ||
<center><h1>{{ page.title }}</h1></center> | ||
|
||
<div class="entry"> | ||
{{ content }} | ||
</div> | ||
|
||
<!-- <div class="date"> | ||
Last compiled on 25th Feb, 2018 | ||
</div> | ||
--> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
|
||
pre.highlight { | ||
background-color: #efefef; | ||
padding: 7px 7px 7px 10px; | ||
border: 1px solid #ddd; | ||
-moz-box-shadow: 3px 3px rgba(0,0,0,0.1); | ||
-webkit-box-shadow: 3px 3px rgba(0,0,0,0.1); | ||
box-shadow: 3px 3px rgba(0,0,0,0.1); | ||
margin: 20px 0 20px 0; | ||
overflow: scroll; | ||
} | ||
|
||
code { | ||
font-family:'Bitstream Vera Sans Mono','Courier', monospace; | ||
} | ||
|
||
.highlight .c { color: #586E75 } /* Comment */ | ||
.highlight .err { color: #93A1A1 } /* Error */ | ||
.highlight .g { color: #93A1A1 } /* Generic */ | ||
.highlight .k { color: #859900 } /* Keyword */ | ||
.highlight .l { color: #93A1A1 } /* Literal */ | ||
.highlight .n { color: #93A1A1 } /* Name */ | ||
.highlight .o { color: #859900 } /* Operator */ | ||
.highlight .x { color: #CB4B16 } /* Other */ | ||
.highlight .p { color: #93A1A1 } /* Punctuation */ | ||
.highlight .cm { color: #586E75 } /* Comment.Multiline */ | ||
.highlight .cp { color: #859900 } /* Comment.Preproc */ | ||
.highlight .c1 { color: #586E75 } /* Comment.Single */ | ||
.highlight .cs { color: #859900 } /* Comment.Special */ | ||
.highlight .gd { color: #2AA198 } /* Generic.Deleted */ | ||
.highlight .ge { color: #93A1A1; font-style: italic } /* Generic.Emph */ | ||
.highlight .gr { color: #DC322F } /* Generic.Error */ | ||
.highlight .gh { color: #CB4B16 } /* Generic.Heading */ | ||
.highlight .gi { color: #859900 } /* Generic.Inserted */ | ||
.highlight .go { color: #93A1A1 } /* Generic.Output */ | ||
.highlight .gp { color: #93A1A1 } /* Generic.Prompt */ | ||
.highlight .gs { color: #93A1A1; font-weight: bold } /* Generic.Strong */ | ||
.highlight .gu { color: #CB4B16 } /* Generic.Subheading */ | ||
.highlight .gt { color: #93A1A1 } /* Generic.Traceback */ | ||
.highlight .kc { color: #CB4B16 } /* Keyword.Constant */ | ||
.highlight .kd { color: #268BD2 } /* Keyword.Declaration */ | ||
.highlight .kn { color: #859900 } /* Keyword.Namespace */ | ||
.highlight .kp { color: #859900 } /* Keyword.Pseudo */ | ||
.highlight .kr { color: #268BD2 } /* Keyword.Reserved */ | ||
.highlight .kt { color: #DC322F } /* Keyword.Type */ | ||
.highlight .ld { color: #93A1A1 } /* Literal.Date */ | ||
.highlight .m { color: #2AA198 } /* Literal.Number */ | ||
.highlight .s { color: #2AA198 } /* Literal.String */ | ||
.highlight .na { color: #93A1A1 } /* Name.Attribute */ | ||
.highlight .nb { color: #B58900 } /* Name.Builtin */ | ||
.highlight .nc { color: #268BD2 } /* Name.Class */ | ||
.highlight .no { color: #CB4B16 } /* Name.Constant */ | ||
.highlight .nd { color: #268BD2 } /* Name.Decorator */ | ||
.highlight .ni { color: #CB4B16 } /* Name.Entity */ | ||
.highlight .ne { color: #CB4B16 } /* Name.Exception */ | ||
.highlight .nf { color: #268BD2 } /* Name.Function */ | ||
.highlight .nl { color: #93A1A1 } /* Name.Label */ | ||
.highlight .nn { color: #93A1A1 } /* Name.Namespace */ | ||
.highlight .nx { color: #555 } /* Name.Other */ | ||
.highlight .py { color: #93A1A1 } /* Name.Property */ | ||
.highlight .nt { color: #268BD2 } /* Name.Tag */ | ||
.highlight .nv { color: #268BD2 } /* Name.Variable */ | ||
.highlight .ow { color: #859900 } /* Operator.Word */ | ||
.highlight .w { color: #93A1A1 } /* Text.Whitespace */ | ||
.highlight .mf { color: #2AA198 } /* Literal.Number.Float */ | ||
.highlight .mh { color: #2AA198 } /* Literal.Number.Hex */ | ||
.highlight .mi { color: #2AA198 } /* Literal.Number.Integer */ | ||
.highlight .mo { color: #2AA198 } /* Literal.Number.Oct */ | ||
.highlight .sb { color: #586E75 } /* Literal.String.Backtick */ | ||
.highlight .sc { color: #2AA198 } /* Literal.String.Char */ | ||
.highlight .sd { color: #93A1A1 } /* Literal.String.Doc */ | ||
.highlight .s2 { color: #2AA198 } /* Literal.String.Double */ | ||
.highlight .se { color: #CB4B16 } /* Literal.String.Escape */ | ||
.highlight .sh { color: #93A1A1 } /* Literal.String.Heredoc */ | ||
.highlight .si { color: #2AA198 } /* Literal.String.Interpol */ | ||
.highlight .sx { color: #2AA198 } /* Literal.String.Other */ | ||
.highlight .sr { color: #DC322F } /* Literal.String.Regex */ | ||
.highlight .s1 { color: #2AA198 } /* Literal.String.Single */ | ||
.highlight .ss { color: #2AA198 } /* Literal.String.Symbol */ | ||
.highlight .bp { color: #268BD2 } /* Name.Builtin.Pseudo */ | ||
.highlight .vc { color: #268BD2 } /* Name.Variable.Class */ | ||
.highlight .vg { color: #268BD2 } /* Name.Variable.Global */ | ||
.highlight .vi { color: #268BD2 } /* Name.Variable.Instance */ | ||
.highlight .il { color: #2AA198 } /* Literal.Number.Integer.Long */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
|
||
/***************/ | ||
/* MEYER RESET */ | ||
/***************/ | ||
|
||
html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
a, abbr, acronym, address, big, cite, code, | ||
del, dfn, em, img, ins, kbd, q, s, samp, | ||
small, strike, strong, sub, sup, tt, var, | ||
b, u, i, center, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, embed, | ||
figure, figcaption, footer, header, hgroup, | ||
menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
// HTML5 display-role reset for older browsers | ||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, ul { | ||
list-style: none; | ||
} | ||
blockquote, q { | ||
quotes: none; | ||
} | ||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
// Apply a natural box layout model to all elements | ||
// from: http://www.paulirish.com/2012/box-sizing-border-box-ftw/ | ||
*, *:before, *:after { | ||
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; | ||
} |
Oops, something went wrong.