Corretta gestione tagli testa/coda in caso di soluzione con pezzo invertito

This commit is contained in:
andrea.villa
2025-07-15 09:30:17 +02:00
parent dc3d534cb4
commit 5bbde3e60f
4 changed files with 38 additions and 3 deletions
+8 -2
View File
@@ -10,12 +10,18 @@ local Identity = {}
---------------------------------------------------------------------
-- Feature : Head Cut
function Identity.IsHeadCut( Proc)
return ( Proc.nGrp == 1 and Proc.nPrc == 340)
local bIdentity = ( Proc.nGrp == 1 and Proc.nPrc == 340)
local idPrc = 340
local idGrp = 1
return bIdentity, idPrc, idGrp
end
---------------------------------------------------------------------
-- Feature : Tail Cut
function Identity.IsTailCut( Proc)
return ( Proc.nGrp == 2 and Proc.nPrc == 350)
local bIdentity = ( Proc.nGrp == 2 and Proc.nPrc == 350)
local idPrc = 350
local idGrp = 2
return bIdentity, idPrc, idGrp
end
---------------------------------------------------------------------