Interface DistributionStrategy

    • Method Detail

      • distribute

        <E extends MTreeEntryAssignments<E> distribute​(AbstractNode<E> node,
                                                         int routing1,
                                                         double[] dis1,
                                                         int routing2,
                                                         double[] dis2)
        Creates a balanced partition of the entries of the specified node.
        Type Parameters:
        E - entry type
        Parameters:
        node - the node to be split
        routing1 - the entry number of the first routing object
        dis1 - Distances from first routing object
        routing2 - the entry number of the second routing object
        dis2 - Distances from second routing object
        Returns:
        an assignment that holds a balanced partition of the entries of the specified node