Commit c1d82e23 authored by FAGES Francois's avatar FAGES Francois

testcellcycle

parent 2e1ba9d6
......@@ -15,7 +15,7 @@
test_sigma/0,
test_cycle/1,
test_cell_cycle/2
test_cell_cycle/0
]).
......@@ -297,9 +297,11 @@ sigma_absence(X, G, Y, Z, P) :-
% DEBUG - TEST ------------------------------------------------------------
test_cell_cycle(Amplitude, Time) :- % (10, 1.5)
test_cell_cycle :-
biocham_command,
doc('Compilation of the program "while true {croissance; replication; verification; mitosis;};".'),
devdoc('The commands of this section are not finished. \\command{clear_model} does not reset all the internal parameters of this section.'),
sigma_absence(croissance, g1, y1, z1, p),
sigma_absence(replication, g2, y2, z2, p),
sigma_absence(verification, g3, y3, z3, p),
......@@ -311,14 +313,14 @@ test_cell_cycle(Amplitude, Time) :- % (10, 1.5)
present([g4], 0.5), present([y4], 2), present([z4], 0.5),
present([p], 2),
present([croissance], Amplitude),
present([croissance], 10),
S = [croissance=[z4]=>replication,
replication=[z1]=>verification,
verification=[z2]=>mitosis,
mitosis=[z3]=>croissance],
compile(S),
with_option(time:Time, numerical_simulation),
with_option(time:18, numerical_simulation),
with_option(show:[croissance,replication,verification,mitosis,z1,z2,z3,z4],plot).
test_cycle(C) :-
......
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