Class ScalarScaler

  • All Implemented Interfaces:
    Scaler

    public abstract class ScalarScaler
    extends java.lang.Object
    implements Scaler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.neo4j.gds.api.properties.nodes.NodePropertyValues properties  
      static ScalarScaler ZERO  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScalarScaler​(org.neo4j.gds.api.properties.nodes.NodePropertyValues properties)  
    • Field Detail

      • properties

        protected final org.neo4j.gds.api.properties.nodes.NodePropertyValues properties
    • Constructor Detail

      • ScalarScaler

        public ScalarScaler​(org.neo4j.gds.api.properties.nodes.NodePropertyValues properties)
    • Method Detail

      • scaleProperty

        public abstract double scaleProperty​(long nodeId)
        Specified by:
        scaleProperty in interface Scaler
      • dimension

        public int dimension()
        Specified by:
        dimension in interface Scaler