映射算法

mapping algorithm