public class Indexz extends Object
| Constructor and Description |
|---|
Indexz() |
| Modifier and Type | Method and Description |
|---|---|
static Index |
create(List<Integer> data) |
static Index |
createCopy(AIndex source) |
static Index |
createLength(int length) |
static Index |
createProgression(int start,
int length,
int skip) |
static Index |
createRandomChoice(int count,
Index source) |
static Index |
createRandomChoice(int count,
int max) |
static Index |
createRandomPermutation(int length) |
static Index |
createRandomSubset(AIndex index,
double probability)
Returns a random subset of an Index, including each element with the given probability
|
static Index |
createRandomSubset(int length,
double probability) |
static Index |
createSequence(int length)
Creates a Index containing the sequence 0, 1, ...
|
static Index |
createSequence(int start,
int length) |
public static Index createProgression(int start, int length, int skip)
public static Index createSequence(int start, int length)
public static Index createSequence(int length)
length - public static Index createRandomPermutation(int length)
public static Index createRandomChoice(int count, int max)
public static Index createRandomSubset(AIndex index, double probability)
probability - public static Index createRandomSubset(int length, double probability)
public static Index createLength(int length)
Copyright © 2013. All Rights Reserved.