Package org.neo4j.gds.beta.generator
Class PropertyProducer.RandomEmbeddingProducer
- java.lang.Object
-
- org.neo4j.gds.beta.generator.PropertyProducer.RandomEmbeddingProducer
-
- All Implemented Interfaces:
PropertyProducer<float[][]>
- Enclosing interface:
- PropertyProducer<PROPERTY_SLICE>
public static class PropertyProducer.RandomEmbeddingProducer extends java.lang.Object implements PropertyProducer<float[][]>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.gds.beta.generator.PropertyProducer
PropertyProducer.EmptyPropertyProducer, PropertyProducer.FixedDoubleProducer, PropertyProducer.NodeIdProducer, PropertyProducer.RandomDoubleArrayProducer, PropertyProducer.RandomDoubleProducer, PropertyProducer.RandomEmbeddingProducer, PropertyProducer.RandomLongArrayProducer, PropertyProducer.RandomLongProducer
-
-
Constructor Summary
Constructors Constructor Description RandomEmbeddingProducer(java.lang.String propertyName, int embeddingSize, float min, float max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetPropertyName()inthashCode()org.neo4j.gds.api.nodeproperties.ValueTypepropertyType()voidsetProperty(long nodeId, float[][] embeddings, int index, java.util.Random random)java.lang.StringtoString()
-
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
- Specified by:
getPropertyNamein interfacePropertyProducer<float[][]>
-
propertyType
public org.neo4j.gds.api.nodeproperties.ValueType propertyType()
- Specified by:
propertyTypein interfacePropertyProducer<float[][]>
-
setProperty
public void setProperty(long nodeId, float[][] embeddings, int index, java.util.Random random)- Specified by:
setPropertyin interfacePropertyProducer<float[][]>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-