Verified Commit 346d9242 authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

Because we really need extras

parent 7795c5b8
INSERT INTO automates VALUES (
"Wireworld",
0,
"Automate conceptualisé par Brian Silverman en 1987",
"Brian Silverman",
1987
);
INSERT INTO EnsembleEtats VALUES(
4,
"Wireworld"
);
-- 4 états empty (noir), electron head (bleu), electron tail (rouge), conductor (jaune)
INSERT INTO Etats VALUES(
4,
0,
"Empty",
0,
0,
0
);
INSERT INTO Etats VALUES(
4,
1,
"Electron head",
60,
60,
255
);
INSERT INTO Etats VALUES(
4,
2,
"Electron tail",
255,
60,
60
);
INSERT INTO Etats VALUES(
4,
3,
"Conductor",
255,
255,
60
);
-- utilise un voisinage de Moore de rayon 1
INSERT INTO regles_voisinage VALUES(
"Wireworld",
2,
1
);
-- règles transition :
-- empty -> empty
INSERT INTO regles_transition VALUES(
"Wireworld",
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
0,
0
);
-- electron head -> electron tail
INSERT INTO regles_transition VALUES(
"Wireworld",
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
1,
2
);
-- electron tail -> conductor
INSERT INTO regles_transition VALUES(
"Wireworld",
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
2,
3
);
-- conductor -> conductor : ]-infini, 0] electron head dans le voisinage
INSERT INTO regles_transition VALUES(
"Wireworld",
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
0,
-1,
-1,
-1,
-1,
-1,
-1,
3,
3
);
-- conductor -> electron head -> : [1, 2] electron head dans le voisinage
INSERT INTO regles_transition VALUES(
"Wireworld",
-1,
1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
2,
-1,
-1,
-1,
-1,
-1,
-1,
3,
1
);
-- conductor -> conductor -> : [3, +infini[ electron head dans le voisinage
INSERT INTO regles_transition VALUES(
"Wireworld",
-1,
3,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
3,
3
);
-- Grille diode
INSERT INTO reseaux VALUES(
6,
"Grille 5*5 - Wireworld diode",
5,
5,
"Wireworld"
);
INSERT INTO Cellules VALUES(
6,
0,
0,
0
);
INSERT INTO Cellules VALUES(
6,
0,
1,
0
);
INSERT INTO Cellules VALUES(
6,
2,
2,
0
);
INSERT INTO Cellules VALUES(
6,
0,
3,
0
);
INSERT INTO Cellules VALUES(
6,
0,
4,
0
);
INSERT INTO Cellules VALUES(
6,
0,
0,
1
);
INSERT INTO Cellules VALUES(
6,
0,
1,
1
);
INSERT INTO Cellules VALUES(
6,
3,
2,
1
);
INSERT INTO Cellules VALUES(
6,
0,
3,
1
);
INSERT INTO Cellules VALUES(
6,
0,
4,
1
);
INSERT INTO Cellules VALUES(
6,
0,
0,
2
);
INSERT INTO Cellules VALUES(
6,
3,
1,
2
);
INSERT INTO Cellules VALUES(
6,
0,
2,
2
);
INSERT INTO Cellules VALUES(
6,
3,
3,
2
);
INSERT INTO Cellules VALUES(
6,
0,
4,
2
);
INSERT INTO Cellules VALUES(
6,
0,
0,
3
);
INSERT INTO Cellules VALUES(
6,
3,
1,
3
);
INSERT INTO Cellules VALUES(
6,
3,
2,
3
);
INSERT INTO Cellules VALUES(
6,
3,
3,
3
);
INSERT INTO Cellules VALUES(
6,
0,
4,
3
);
INSERT INTO Cellules VALUES(
6,
0,
0,
4
);
INSERT INTO Cellules VALUES(
6,
0,
1,
4
);
INSERT INTO Cellules VALUES(
6,
1,
2,
4
);
INSERT INTO Cellules VALUES(
6,
0,
3,
4
);
INSERT INTO Cellules VALUES(
6,
0,
4,
4
);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment