Record Class PrizeCollectingSteinerTreeMutateResult

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

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

    Constructors
    Constructor
    Description
    PrizeCollectingSteinerTreeMutateResult(long preProcessingMillis, long computeMillis, long mutateMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, long relationshipsWritten, Map<String,Object> configuration)
    Creates an instance of a PrizeCollectingSteinerTreeMutateResult 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.
    emptyFrom(org.neo4j.gds.applications.algorithms.machinery.AlgorithmProcessingTimings timings, Map<String,Object> configuration)
     
    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 mutateMillis record component.
    long
    Returns the value of the preProcessingMillis record component.
    long
    Returns the value of the relationshipsWritten 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

    • PrizeCollectingSteinerTreeMutateResult

      public PrizeCollectingSteinerTreeMutateResult(long preProcessingMillis, long computeMillis, long mutateMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, long relationshipsWritten, Map<String,Object> configuration)
      Creates an instance of a PrizeCollectingSteinerTreeMutateResult record class.
      Parameters:
      preProcessingMillis - the value for the preProcessingMillis record component
      computeMillis - the value for the computeMillis record component
      mutateMillis - the value for the mutateMillis 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
      relationshipsWritten - the value for the relationshipsWritten record component
      configuration - the value for the configuration record component
  • Method Details

    • emptyFrom

      public static PrizeCollectingSteinerTreeMutateResult emptyFrom(org.neo4j.gds.applications.algorithms.machinery.AlgorithmProcessingTimings timings, Map<String,Object> configuration)
    • 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
    • mutateMillis

      public long mutateMillis()
      Returns the value of the mutateMillis record component.
      Returns:
      the value of the mutateMillis 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
    • relationshipsWritten

      public long relationshipsWritten()
      Returns the value of the relationshipsWritten record component.
      Returns:
      the value of the relationshipsWritten record component
    • configuration

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