From 6f454807f4387430e105e066fb50053d0a0a0b20 Mon Sep 17 00:00:00 2001 From: Guilhem Gamard <guilhem.gamard@normale.fr> Date: Mon, 10 Feb 2020 14:50:48 +0100 Subject: [PATCH] =?UTF-8?q?Moved=20Guillaume=20and=20Mart=C3=ACn's=20examp?= =?UTF-8?q?le=20out=20of=20the=20main=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guillaume-martin.py | 33 +++++++++++++++++++++++++++++++++ simra.py | 28 ---------------------------- 2 files changed, 33 insertions(+), 28 deletions(-) create mode 100644 guillaume-martin.py diff --git a/guillaume-martin.py b/guillaume-martin.py new file mode 100644 index 0000000..523cda3 --- /dev/null +++ b/guillaume-martin.py @@ -0,0 +1,33 @@ +from simra import * + +# ################################################################ + +gm_deps = [ + None, #ignored + # THESE VALUES ARE 1-indexed instead of 0-indexed. Therefore, + # Id here == Id in Martìn's schema + 1. + [3, 5], + [4, 6], + [1, 7], + [2, 7], + [1, -8], + [2, -8], + [3, 4, 9], + [-5, -6, -9, -10], + [-8, 13, 14], + [11, 12], + [10], + [10], + [9, 14], + [9, 13], +] + +gm_init_vals = [ + None, #ignored + "TODO" +] + +gm_update_mode = [ + [], + "TODO" +] diff --git a/simra.py b/simra.py index de04d1a..5c08fb9 100755 --- a/simra.py +++ b/simra.py @@ -360,31 +360,3 @@ def and_not(dep_lists, init_vals, update_mode): nodes.append(node) return AN(nodes, update_mode) -# ################################################################ - -example_deps = [ - None, #ignored - [3, 5], - [4, 6], - [1, 7], - [2, 7], - [1, -8], - [2, -8], - [3, 4, 9], - [-5, -6, -9, -10], - [-8, 13, 14], - [11, 12], - [10], - [10], - [9, 14], - [9, 13], -] - -example_init_vals = [ - None, #ignored -] - -example_update = [ - [], -] - -- GitLab