partitionsOf

fun partitionsOf(node: String, nodes: Collection<String>, partitions: Int): Set<Int>

The partitions among partitions that node owns when nodes are the members.