Corrections sur mes notes dans le rapport + un peu de mise en forme.
This commit is contained in:
parent
719f742f04
commit
a2126c979d
|
@ -41,9 +41,13 @@ function create_game($cloudSize) {
|
||||||
global $db;
|
global $db;
|
||||||
// select random node
|
// select random node
|
||||||
$centerEid = random_node();
|
$centerEid = random_node();
|
||||||
|
$relation_1 = 5;
|
||||||
|
$relation_2 = 7;
|
||||||
|
//$relation_3 = 9;
|
||||||
|
//$relation_4 = 10;
|
||||||
|
|
||||||
// select neighbors 1 hop
|
// select neighbors 1 hop
|
||||||
if (!$difficulty_1 = $db->query("select end as eid from relation where start = 42 order by random() limit " . $cloudSize . ";")) { mDie(4,"Erreur dans la requête d1"); }
|
if (!$difficulty_1 = $db->query("select end as eid from relation where start = 42 and type in (".$relation_1.",".$relation_2.") order by random() limit " . $cloudSize . ";")) { mDie(4,"Erreur dans la requête d1"); }
|
||||||
|
|
||||||
|
|
||||||
// select neighbors 2 hops
|
// select neighbors 2 hops
|
||||||
|
|
|
@ -118,12 +118,21 @@ Android Developer, 2011. (\url{http://developer.android.com/})
|
||||||
|
|
||||||
|
|
||||||
\section{Notes Georges}
|
\section{Notes Georges}
|
||||||
Les relations suivantes seront peut-être utilisées (* = oui, c'est sûr)
|
Les relations suivantes seront peut-être utilisées (* = oui, c'est sûr, on a/doit faire les icônes et des requêtes sql)~:
|
||||||
r\_carac 17
|
|
||||||
r\_agent 13
|
|
||||||
r\_patient 14
|
|
||||||
* r\_syn 5
|
|
||||||
|
|
||||||
|
\begin{tabular}{|c|l|l|l|}
|
||||||
|
\hline
|
||||||
|
icône~? & nom & num & signification \\
|
||||||
|
\hline
|
||||||
|
$*$ & r\_syn & 5 & synonyme (chat -> matou) \\
|
||||||
|
$*$ & r\_anto & 7 & antonyme (bon -> mauvais) \\
|
||||||
|
$*$ & r\_has\_part & 9 & A comme partie (chat -> patte) \\
|
||||||
|
$*$ & r\_holo & 10 & Fait partie de (patte -> chat) \\
|
||||||
|
& r\_agent & 13 & Peut exécuter comme action (chat -> manger) \\
|
||||||
|
& r\_patient & 14 & Peut subir comme action (chat -> être lavé) \\
|
||||||
|
& r\_carac & 17 & Caractéristique (chat -> affectueux (ou pas…)) \\
|
||||||
|
\hline
|
||||||
|
\end{tabular}
|
||||||
\newpage
|
\newpage
|
||||||
|
|
||||||
\appendix
|
\appendix
|
||||||
|
|
Loading…
Reference in New Issue
Block a user