Interface PropertyProducer<PROPERTY_SLICE>
-
- All Known Implementing Classes:
PropertyProducer.EmptyPropertyProducer
,PropertyProducer.FixedDoubleProducer
,PropertyProducer.RandomDoubleProducer
,PropertyProducer.RandomEmbeddingProducer
,PropertyProducer.RandomLongProducer
public interface PropertyProducer<PROPERTY_SLICE>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PropertyProducer.EmptyPropertyProducer
static class
PropertyProducer.FixedDoubleProducer
static class
PropertyProducer.RandomDoubleProducer
static class
PropertyProducer.RandomEmbeddingProducer
static class
PropertyProducer.RandomLongProducer
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PropertyProducer<double[]>
fixedDouble(java.lang.String propertyName, double value)
java.lang.String
getPropertyName()
ValueType
propertyType()
static PropertyProducer<double[]>
randomDouble(java.lang.String propertyName, double min, double max)
static PropertyProducer<float[][]>
randomEmbedding(java.lang.String propertyName, int embeddingSize, float min, float max)
static PropertyProducer<long[]>
randomLong(java.lang.String propertyName, long min, long max)
void
setProperty(PROPERTY_SLICE slice, int index, java.util.Random random)
-
-
-
Method Detail
-
fixedDouble
static PropertyProducer<double[]> fixedDouble(java.lang.String propertyName, double value)
-
randomDouble
static PropertyProducer<double[]> randomDouble(java.lang.String propertyName, double min, double max)
-
randomEmbedding
static PropertyProducer<float[][]> randomEmbedding(java.lang.String propertyName, int embeddingSize, float min, float max)
-
randomLong
static PropertyProducer<long[]> randomLong(java.lang.String propertyName, long min, long max)
-
getPropertyName
java.lang.String getPropertyName()
-
propertyType
ValueType propertyType()
-
setProperty
void setProperty(PROPERTY_SLICE slice, int index, java.util.Random random)
-
-