10 Temmuz 2026 Cuma

Positional Block Encoding - Hierarchical Block Allocation

Giriş
Verilen n kademe/seviye girdiyi tek bir sayıya çevirir

1. İki Kademe
Formül şöyle
- areaNo
- systemNo
- SYTEMS_PER_AREA - Yani base
- TERMINALS_PER_SYSTEM
- BLOCK_SIZE

Start : (areaNo * SYTEMS_PER_AREA + systemNo) * TERMINALS_PER_SYSTEM
End : Start + BLOCK_SIZE
Yeni bir sabit hesaplarız
TERMINALS_PER_AREA = SYTEMS_PER_AREA * TERMINALS_PER_SYSTEM
Sonra
start = (areaNo * TERMINALS_PER_AREA) + (systemNo * TERMINALS_PER_SYSTEM)
ve end
start + BLOCK_SIZE