Class Scaler.ArrayScaler

  • All Implemented Interfaces:
    Scaler
    Enclosing interface:
    Scaler

    public static class Scaler.ArrayScaler
    extends java.lang.Object
    implements Scaler
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayScaler​(java.util.List<ScalarScaler> elementScalers, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int dimension()  
      double scaleProperty​(long nodeId)  
      void scaleProperty​(long nodeId, double[] result, int offset)  
      java.util.Map<java.lang.String,​java.util.List<java.lang.Double>> statistics()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArrayScaler

        public ArrayScaler​(java.util.List<ScalarScaler> elementScalers,
                           org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
    • Method Detail

      • scaleProperty

        public void scaleProperty​(long nodeId,
                                  double[] result,
                                  int offset)
      • scaleProperty

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

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

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Double>> statistics()
        Specified by:
        statistics in interface Scaler