public static class VectorGeneratorsFamily.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VectorGeneratorsFamily.Builder |
add(VectorGenerator generator)
Adds generator to family with weight = 1.
|
VectorGeneratorsFamily.Builder |
add(VectorGenerator generator,
double weight)
Add generator to family with weight proportional to it selection probability.
|
VectorGeneratorsFamily |
build()
Builds VectorGeneratorsFamily instance.
|
VectorGeneratorsFamily |
build(long seed)
Builds VectorGeneratorsFamily instance.
|
VectorGeneratorsFamily.Builder |
map(IgniteFunction<VectorGenerator,VectorGenerator> mapper)
Adds map function for all generators in family.
|
public VectorGeneratorsFamily.Builder add(VectorGenerator generator, double weight)
generator
- Generator.weight
- Weight.public VectorGeneratorsFamily.Builder add(VectorGenerator generator)
generator
- Generator.public VectorGeneratorsFamily.Builder map(IgniteFunction<VectorGenerator,VectorGenerator> mapper)
mapper
- Mapper.public VectorGeneratorsFamily build()
public VectorGeneratorsFamily build(long seed)
seed
- Seed.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025