We generalize the fundamental results of Delsarte thesis (1973) on codes in $P$-polynomial association schemes in the framework introduced by Bannai et al. (2025). We assume the scheme is weakly metric in the sense of (Solé, 1989). We give a Lloyd theorem on perfect codes in $P$-polynomial association schemes. We determine the rank of the outer distribution matrix and derive a linear relation on its columns. Similar results are derived for the outer distance matrix. Upper bounds on the covering radius of codes with known dual relation (resp. distance) spectrum size follow. A Lloyd-type relation is derived for the case of equality in the clique/coclique bound. This is relevant to diameter perfect codes. The width of the inner distribution and the external distance of the code are connected by a linear inequality. Equality in that bound yields completely regular codes.
翻译:暂无翻译