polyrun.thinning.ThinningFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polyrun Show documentation
Show all versions of polyrun Show documentation
A library containing implementation of uniform sampling from bounded convex polytopes.
package polyrun.thinning;
/**
* Represents function q = f(n) which defines thinning factor q depending on the dimensionality n of sampling space.
*/
public interface ThinningFunction {
/**
* Returns thinning factor for given number of dimensions.
*
* @param dimensions number of dimensions of sampling space
* @return thinning factor
*/
int getThinningFactor(int dimensions);
}