parallel.partitioners.IPartitionPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstat Show documentation
Show all versions of jstat Show documentation
Java Library for Statistical Analysis.
The newest version!
package parallel.partitioners;
import java.util.List;
public interface IPartitionPolicy {
/**
* Returns the indices associted with the i-th partition
* @param i
* @return
*/
List getParition(int i);
/**
* How many partitions this policy has
*/
int numPartitions();
}