Skip to content

Commit 339c11d

Browse files
committed
Added jupyter notebook of figures
1 parent 8c2a319 commit 339c11d

8 files changed

Lines changed: 1413 additions & 4 deletions

File tree

PopMaBoSS_Paper_Example.ipynb

Lines changed: 1304 additions & 0 deletions
Large diffs are not rendered by default.

tuto/maboss/Fork-uneven.bnd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Node A
2+
{
3+
logic = A;
4+
rate_up = @logic ? 1.0 : 0.0;
5+
rate_down = 0.0 ;
6+
}
7+
8+
Node B
9+
{
10+
logic = A & !C;
11+
rate_up = @logic ? 2.0 : 0.0;
12+
rate_down = 0.0;
13+
}
14+
15+
Node C
16+
{
17+
logic = A & !B;
18+
rate_up = @logic ? 1.0 : 0.0;
19+
rate_down = 0.0;
20+
}
21+
22+
23+

tuto/maboss/Fork.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ discrete_time = 0;
77
use_physrandgen = FALSE;
88
seed_pseudorandom = 100;
99
sample_count = 100000;
10-
max_time = 5;
11-
time_tick = 0.01;
12-
thread_count = 6;
10+
max_time = 5.1;
11+
time_tick = 0.05;
12+
thread_count = 16;
1313

tuto/popmaboss/Fork-uneven.bnd

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Node A
2+
{
3+
rate_up = 0.0;
4+
rate_down = 0.0 ;
5+
}
6+
7+
Node B
8+
{
9+
logic = A & !C;
10+
rate_up = @logic ? 2.0 : 0.0;
11+
rate_down = 0.0;
12+
}
13+
14+
Node C
15+
{
16+
logic = A & !B;
17+
rate_up = @logic ? 1.0 : 0.0;
18+
rate_down = 0.0;
19+
}
20+
21+
division
22+
{
23+
rate = A & !(B|C) ? 1.0 : 0.0;
24+
}

tuto/popmaboss/Fork-uneven.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
A.istate=1;
2+
B.istate=0;
3+
C.istate=0;
4+
5+
init_pop = 1;
6+
7+
$DivRate=0.1;
8+
9+
discrete_time = 0;
10+
//use_physrandgen = FALSE;
11+
use_physrandgen = FALSE;
12+
seed_pseudorandom = 100;
13+
sample_count = 100000;
14+
max_time = 10;
15+
time_tick = 0.1;
16+
thread_count = 6;
17+

tuto/popmaboss/Fork.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ A.istate=1;
22
B.istate=0;
33
C.istate=0;
44

5-
init_pop = 3;
5+
init_pop = 1;
66

77
$DivRate=0.1;
88

tuto/upmaboss/Fork-uneven.bnd

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Node A
2+
{
3+
logic = A;
4+
rate_up = @logic ? 1.0 : 0.0;
5+
rate_down = 0.0 ;
6+
}
7+
8+
Node B
9+
{
10+
logic = A & !C;
11+
rate_up = @logic ? 2.0 : 0.0;
12+
rate_down = 0.0;
13+
}
14+
15+
Node C
16+
{
17+
logic = A & !B;
18+
rate_up = @logic ? 1.0 : 0.0;
19+
rate_down = 0.0;
20+
}
21+
22+
Node Division
23+
{
24+
rate_up = A & !(B|C) ? $DivRate : 0.0;
25+
rate_down = 0.0;
26+
}

tuto/upmaboss/Fork-uneven.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
A.istate=1;
2+
B.istate=0;
3+
C.istate=0;
4+
Division.istate=0;
5+
$DivRate=1;
6+
7+
discrete_time = 0;
8+
//use_physrandgen = FALSE;
9+
use_physrandgen = FALSE;
10+
seed_pseudorandom = 100;
11+
sample_count = 100000;
12+
max_time = 0.1;
13+
time_tick = 0.01;
14+
thread_count = 6;
15+

0 commit comments

Comments
 (0)