Commit 900ec599 authored by Benoît Barbot's avatar Benoît Barbot

prog

parent b0c820f6
Pipeline #972 failed with stages
in 3 minutes and 42 seconds
......@@ -4,7 +4,7 @@ nb_points=${2:-10000}
size_poly=${3:-10}
loopsize=${4:-10}
sage script_tocosmos_PTA.sage $1 $1.grml $size_poly -1 -unif
sage script_tocosmos_PTA.sage $1 $1.grml $size_poly $size_poly -unif
echo "$1_Unif.png";
......
......@@ -29,8 +29,8 @@ Edges={
((l1,l1),{t_a}, c0+c1+c2+c3 >=1 & c0+c1+c2+c3 <=2 & n>=4 & n<=N-1, {n=n+1,c=2*c + floor(t),c0= floor(t), c1=c0, c2=c1,c3=c2, t=0});
((l1,lf1),{t_a}, c0+c1+c2+c3 >=1 & c0+c1+c2+c3 <=2 & n=N ,{ct=-1 });
((l1,l2),{t_a}, c0+c1+c2+c3 <=1 & n>=4 & n<=N-1, {n=n+1,c=2*c + floor(t),c0= floor(t), c1=c0, c2=c1,c3=c2, t=0});
((l1,l2),{t_a}, c0+c1+c2+c3 >=2 & n>=4 & n<=N-1, {n=n+1,c=2*c + floor(t),c0= floor(t), c1=c0, c2=c1,c3=c2, t=0});
((l1,l2),{t_a}, c0+c1+c2+c3 <=0 & n>=4 & n<=N-1, {n=n+1,c=2*c + floor(t),c0= floor(t), c1=c0, c2=c1,c3=c2, t=0});
((l1,l2),{t_a}, c0+c1+c2+c3 >=3 & n>=4 & n<=N-1, {n=n+1,c=2*c + floor(t),c0= floor(t), c1=c0, c2=c1,c3=c2, t=0});
((l2,l2),ALL\{t_a}, # , #);
((l2,l2),{t_a}, n<=N-1, {n=n+1,c=2*c + floor(t),c0= floor(t), c1=c0, c2=c1,c3=c2, t=0});
......
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