public class WindowedPermutationFunction extends Object implements PermutationFunction<Vector>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WINDOW_LIMIT
The default window limit to place on permutations.
|
static String |
PROPERTY_PREFIX
The prefix for naming public properties.
|
static String |
WINDOW_LIMIT_PROPERTY
The property to set the window size.
|
| Constructor and Description |
|---|
WindowedPermutationFunction()
Creates a
WindowedPermutationFunction using the default system
Properties. |
WindowedPermutationFunction(Properties props)
Creates a
WindowedPermutationFunction using a passed in Properties. |
public static final String PROPERTY_PREFIX
public static final String WINDOW_LIMIT_PROPERTY
public static final String DEFAULT_WINDOW_LIMIT
public WindowedPermutationFunction()
WindowedPermutationFunction using the default system
Properties.public WindowedPermutationFunction(Properties props)
WindowedPermutationFunction using a passed in Properties.public Vector permute(Vector v, int numPermutations)
TernaryVector the specified number of
times.permute in interface PermutationFunction<Vector>v - an index vector to permutenumPermutations - the number of times the permutation function
should be applied to the provided index vector.Copyright © 2012. All Rights Reserved.