39 lines
14 KiB
HTML
39 lines
14 KiB
HTML
<!DOCTYPE html PUBLIC ""
|
||
"">
|
||
<html><head><meta charset="UTF-8" /><title>wildwood.caesar documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Wildwood</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="AgainstTruth.html"><div class="inner"><span>Against Truth</span></div></a></li><li class="depth-1 "><a href="Analysis.html"><div class="inner"><span>Analysis</span></div></a></li><li class="depth-1 "><a href="Arboretum.html"><div class="inner"><span>Arboretum</span></div></a></li><li class="depth-1 "><a href="Arden.html"><div class="inner"><span>Arden</span></div></a></li><li class="depth-1 "><a href="BatesonKammerer.html"><div class="inner"><span>The Bateson / Kammerer debate</span></div></a></li><li class="depth-1 "><a href="Bialowieza.html"><div class="inner"><span>Bialowieza</span></div></a></li><li class="depth-1 "><a href="Errata.html"><div class="inner"><span>Errata</span></div></a></li><li class="depth-1 "><a href="Experience.html"><div class="inner"><span>Experience</span></div></a></li><li class="depth-1 "><a href="HegemonicArgument.html"><div class="inner"><span>Hegemonic Argument</span></div></a></li><li class="depth-1 "><a href="History.html"><div class="inner"><span>History</span></div></a></li><li class="depth-1 "><a href="HuxleyKropotkin.html"><div class="inner"><span>The Huxley / Kropotkin debate</span></div></a></li><li class="depth-1 "><a href="Implementing.html"><div class="inner"><span>Implementing</span></div></a></li><li class="depth-1 "><a href="JAccuse.html"><div class="inner"><span>J'Accuse</span></div></a></li><li class="depth-1 "><a href="KnacqTools.html"><div class="inner"><span>KnacqTools</span></div></a></li><li class="depth-1 "><a href="Manifesto.html"><div class="inner"><span>Manifesto</span></div></a></li><li class="depth-1 "><a href="OnHylasAndPhilonus.html"><div class="inner"><span>On the First Dialogue of Hylas and Philonous</span></div></a></li><li class="depth-1 "><a href="PredicateSubtext.html"><div class="inner"><span>On the subtext of a predicate</span></div></a></li><li class="depth-1 "><a href="TheProblem.html"><div class="inner"><span>The Problem</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>Introduction to Wildwood</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>wildwood</span></div></div></li><li class="depth-2 branch"><a href="wildwood.advocate.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>advocate</span></div></a></li><li class="depth-2 branch"><a href="wildwood.bialowieza.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bialowieza</span></div></a></li><li class="depth-2 branch current"><a href="wildwood.caesar.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>caesar</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dengine</span></div></div></li><li class="depth-3 branch"><a href="wildwood.dengine.engine.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>engine</span></div></a></li><li class="depth-3"><a href="wildwood.dengine.node.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>node</span></div></a></li><li class="depth-2 branch"><a href="wildwood.knowledge-accessor.html"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>knowledge-accessor</span></div></a></li><li class="depth-2 branch"><a href="wildwood.mongo-ka.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>mongo-ka</span></div></a></li><li class="depth-2"><a href="wildwood.schema.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>schema</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="wildwood.caesar.html#var-anthony-kb"><div class="inner"><span>anthony-kb</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-april"><div class="inner"><span>april</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-brutus-kb"><div class="inner"><span>brutus-kb</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-cassius-kb"><div class="inner"><span>cassius-kb</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-drusila-kb"><div class="inner"><span>drusila-kb</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-eighteenth-march"><div class="inner"><span>eighteenth-march</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-faldo-db"><div class="inner"><span>faldo-db</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-gaius-db"><div class="inner"><span>gaius-db</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-ides-of-march"><div class="inner"><span>ides-of-march</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-longus-kb"><div class="inner"><span>longus-kb</span></div></a></li><li class="depth-1"><a href="wildwood.caesar.html#var-march"><div class="inner"><span>march</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">wildwood.caesar</h1><div class="doc"><div class="markdown"><p>A dummy set of advocates and knowledge accessors with knowledge about the death of Julius Caesar.</p>
|
||
<h1><a href="#the-case-against-marcus-brutus" name="the-case-against-marcus-brutus"></a>The Case Against Marcus Brutus</h1>
|
||
<p>Did Brutus conspire to kill Caesar in the forum in the Ides of March?</p>
|
||
<p>Falco, the detective, must find out.</p>
|
||
<h2><a href="#the-witnesses" name="the-witnesses"></a>The witnesses</h2>
|
||
<p>Anthony knows that Brutus is honourable, and that Caesar is buried.</p>
|
||
<p>Brutus will admit he was in the forum on the ides of March and is a witness that Cassius was also present.</p>
|
||
<p>Cassius and Longus each bear witness that the other killed Caesar in the Forum on the Ides of March.</p>
|
||
<p>Drusilla believes that Brutus killed Caesar in the Forum on the Ides of March, but was not a witness. She also bears witness that Caesar was buried on the 18th March.</p>
|
||
<p>Gaius believes that Brutus killed Caesar in the Forum in April, but was not a witness.</p>
|
||
<h2><a href="#the-rules" name="the-rules"></a>The rules</h2>
|
||
<p>There is a rule which says that if you kill someone and you have accomplices then you’re not honourable, and a default that has-accomplices is false.</p>
|
||
<p>Note that has-accomplices boils down to</p>
|
||
<blockquote>
|
||
<p>For a given verb, object, location and time, there is more than one subject.</p>
|
||
</blockquote>
|
||
<p>That’s quite sophisticated to represent.</p>
|
||
<p>There is a rule which says you can’t be killed after you’re dead (temporal reasoning).</p>
|
||
<p>There is a rule which says if you’ve been killed or been buried then you’re dead.</p>
|
||
<p>The case against Brutus is based on Drusilla’s claim and on Gaius’s.</p>
|
||
<p>Drusilla’s can be doubted because 1. She wasn’t a witness and 2. Is a woman.</p>
|
||
<p>Gaius’s can be doubted because 1. he wasn’t a witness, and because 2. it’s inconsistent with the evidence that Caesar was buried on the 18th.</p>
|
||
<h2><a href="#the-conclusion" name="the-conclusion"></a>The conclusion</h2>
|
||
<p>Thus, I think, Falco must conclude that Brutus didn’t kill Caesar, because if he had he must have had accomplices (Cassius and Longus, who clearly were accomplices and implicate one another), but honourable men don’t kill with accomplices and Brutus is an honourable man.</p>
|
||
<h2><a href="#features" name="features"></a>Features</h2>
|
||
<p>The <code>features</code> in DTree terms we’re interested in to make these inferences are</p>
|
||
<ul>
|
||
<li><code>did-kill</code> - true of an entity which is in the subject position of a <code>kill</code> proposition;</li>
|
||
<li><code>was-killed</code> - true of an entity which is in the object position of a <code>kill</code> proposition;</li>
|
||
<li><code>buried</code> - true of an entity which is in the object position of a <code>bury</code> proposition;</li>
|
||
<li><code>dead</code> - true of an entity of which either <code>was-killed</code> or <code>buried</code> is true;</li>
|
||
<li><code>honourable</code> - true of an entity, provided that <code>did-lie</code> and <code>did-murder</code> are false;</li>
|
||
<li><code>did-murder</code> - true of an entity x that <code>did-kill[x,y]</code> for some object y is true of, provided that there exists some other entity p of whom <code>did-kill[p,x]</code> is also true, or that <code>was-unarmed[y]</code> is true;</li>
|
||
<li><code>did-lie</code> - true of an entity which has offered a proposition which for other reasons we do not believe. Tricky. False by default and I think we probably leave it at that for now.</li>
|
||
<li><code>was-unarmed</code> - true of an entity at a time <code>t</code> if they were unarmed at the time.</li>
|
||
</ul>
|
||
<p>Note that ALL of this is too complex for the simple DTree logic of the Arboretum / KnacqTools generation. They could not unpack propositions as I’m proposing here.</p></div></div><div class="public anchor" id="var-anthony-kb"><h3>anthony-kb</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Mark Antony knows that Brutus is honourable, and that Caesar is buried.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L99">view source</a></div></div><div class="public anchor" id="var-april"><h3>april</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>The month of April, 44BC, as a range.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L95">view source</a></div></div><div class="public anchor" id="var-brutus-kb"><h3>brutus-kb</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Brutus will admit that he and Cassius were in the forum in the Ides of March</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L104">view source</a></div></div><div class="public anchor" id="var-cassius-kb"><h3>cassius-kb</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Cassius and Longus each bear witness that the other killed Caesar in the Forum on the Ides of March.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L111">view source</a></div></div><div class="public anchor" id="var-drusila-kb"><h3>drusila-kb</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Drusila has heard that Brutus killed Caesar in the forum. She keys it on all three, for efficiency of retrieval.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L118">view source</a></div></div><div class="public anchor" id="var-eighteenth-march"><h3>eighteenth-march</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>18th March, 44BC</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L87">view source</a></div></div><div class="public anchor" id="var-faldo-db"><h3>faldo-db</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Falco believes that Caesar has been killed, but doesn’t know by whom or when.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L126">view source</a></div></div><div class="public anchor" id="var-gaius-db"><h3>gaius-db</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Gaius has heard that Brutus killed Caesar, but believes it happened in April.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L132">view source</a></div></div><div class="public anchor" id="var-ides-of-march"><h3>ides-of-march</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>16th March, 44BC</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L83">view source</a></div></div><div class="public anchor" id="var-longus-kb"><h3>longus-kb</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Cassius and Longus each bear witness that the other killed Caesar in the Forum on the Ides of March.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L138">view source</a></div></div><div class="public anchor" id="var-march"><h3>march</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>The month of March, 44BC, as a range.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/wildwood/caesar.clj#L91">view source</a></div></div></div></body></html> |