Record Class PrizeCollectingSteinerTreeStatsResult

java.lang.Object
java.lang.Record
org.neo4j.gds.procedures.algorithms.pathfinding.PrizeCollectingSteinerTreeStatsResult

public record PrizeCollectingSteinerTreeStatsResult(long preProcessingMillis, long computeMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, Map<String,Object> configuration) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    PrizeCollectingSteinerTreeStatsResult(long preProcessingMillis, long computeMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, Map<String,Object> configuration)
    Creates an instance of a PrizeCollectingSteinerTreeStatsResult record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the computeMillis record component.
    Returns the value of the configuration record component.
    long
    Returns the value of the effectiveNodeCount record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the preProcessingMillis record component.
    double
    Returns the value of the sumOfPrizes record component.
    final String
    Returns a string representation of this record class.
    double
    Returns the value of the totalWeight record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PrizeCollectingSteinerTreeStatsResult

      public PrizeCollectingSteinerTreeStatsResult(long preProcessingMillis, long computeMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, Map<String,Object> configuration)
      Creates an instance of a PrizeCollectingSteinerTreeStatsResult record class.
      Parameters:
      preProcessingMillis - the value for the preProcessingMillis record component
      computeMillis - the value for the computeMillis record component
      effectiveNodeCount - the value for the effectiveNodeCount record component
      totalWeight - the value for the totalWeight record component
      sumOfPrizes - the value for the sumOfPrizes record component
      configuration - the value for the configuration record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • preProcessingMillis

      public long preProcessingMillis()
      Returns the value of the preProcessingMillis record component.
      Returns:
      the value of the preProcessingMillis record component
    • computeMillis

      public long computeMillis()
      Returns the value of the computeMillis record component.
      Returns:
      the value of the computeMillis record component
    • effectiveNodeCount

      public long effectiveNodeCount()
      Returns the value of the effectiveNodeCount record component.
      Returns:
      the value of the effectiveNodeCount record component
    • totalWeight

      public double totalWeight()
      Returns the value of the totalWeight record component.
      Returns:
      the value of the totalWeight record component
    • sumOfPrizes

      public double sumOfPrizes()
      Returns the value of the sumOfPrizes record component.
      Returns:
      the value of the sumOfPrizes record component
    • configuration

      public Map<String,Object> configuration()
      Returns the value of the configuration record component.
      Returns:
      the value of the configuration record component