int[] nodeAssignments = new int[nodes.length];
Arrays.fill(nodeAssignments, 0);
return nodeAssignments;
}
MultiLevelKLNetworkPartitioner networkPartitioner = new MultiLevelKLNetworkPartitioner();
networkPartitioner.initialize(nodes, projections, numPartitions);
return networkPartitioner.getPartitionsAsIntArray();
}