Package org.neo4j.gds.scaling
Class ScalarScaler
- java.lang.Object
-
- org.neo4j.gds.scaling.ScalarScaler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScalarScaler.Variant
-
Nested classes/interfaces inherited from interface org.neo4j.gds.scaling.Scaler
Scaler.ArrayScaler
-
-
Field Summary
Fields Modifier and Type Field Description protected org.neo4j.gds.api.NodeProperties
properties
static ScalarScaler
ZERO
-
Fields inherited from interface org.neo4j.gds.scaling.Scaler
CLOSE_TO_ZERO
-
-
Constructor Summary
Constructors Constructor Description ScalarScaler(org.neo4j.gds.api.NodeProperties properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
dimension()
abstract double
scaleProperty(long nodeId)
-
-
-
Field Detail
-
properties
protected final org.neo4j.gds.api.NodeProperties properties
-
ZERO
public static final ScalarScaler ZERO
-
-
Method Detail
-
scaleProperty
public abstract double scaleProperty(long nodeId)
- Specified by:
scaleProperty
in interfaceScaler
-
-