Engine prototype #13

Merged
glen merged 133 commits from engine-proto into main 2024-10-21 03:18:48 +00:00
Showing only changes of commit 6d233b5ee9 - Show all commits

View File

@ -29,7 +29,7 @@ for j in 1:10
push!(values, -1/BigFloat(3)) push!(values, -1/BigFloat(3))
filled = true filled = true
elseif k == 5 elseif k == 5
push!(values, 1) push!(values, -1)
filled = true filled = true
elseif k <= 9 && k - j != 5 elseif k <= 9 && k - j != 5
push!(values, 0) push!(values, 0)
@ -37,7 +37,7 @@ for j in 1:10
end end
elseif k <= 4 elseif k <= 4
if j == 5 if j == 5
push!(values, 1) push!(values, -1)
filled = true filled = true
elseif j <= 9 && j - k != 5 elseif j <= 9 && j - k != 5
push!(values, 0) push!(values, 0)
@ -59,8 +59,8 @@ guess = hcat(
1 1 -1 -1 0 1 1 -1 -1 0
1 -1 1 -1 0 1 -1 1 -1 0
1 -1 -1 1 0 1 -1 -1 1 0
0 0 0 0 1.5 0 0 0 0 -1.5
1 1 1 1 0.5 1 1 1 1 -0.5
] + 0.2*Engine.rand_on_shell(fill(BigFloat(-1), 5)), ] + 0.2*Engine.rand_on_shell(fill(BigFloat(-1), 5)),
Engine.point([-1, -1, -1]), Engine.point([-1, -1, -1]),
Engine.point([ 1, -1, -1]), Engine.point([ 1, -1, -1]),