Record Class PrizeCollectingSteinerTreeWriteResult
java.lang.Object
java.lang.Record
org.neo4j.gds.procedures.algorithms.pathfinding.PrizeCollectingSteinerTreeWriteResult
-
Constructor Summary
ConstructorsConstructorDescriptionPrizeCollectingSteinerTreeWriteResult(long preProcessingMillis, long computeMillis, long writeMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, long relationshipsWritten, Map<String, Object> configuration) Creates an instance of aPrizeCollectingSteinerTreeWriteResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecomputeMillisrecord component.Returns the value of theconfigurationrecord component.longReturns the value of theeffectiveNodeCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thepreProcessingMillisrecord component.longReturns the value of therelationshipsWrittenrecord component.doubleReturns the value of thesumOfPrizesrecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of thetotalWeightrecord component.longReturns the value of thewriteMillisrecord component.
-
Constructor Details
-
PrizeCollectingSteinerTreeWriteResult
public PrizeCollectingSteinerTreeWriteResult(long preProcessingMillis, long computeMillis, long writeMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, long relationshipsWritten, Map<String, Object> configuration) Creates an instance of aPrizeCollectingSteinerTreeWriteResultrecord class.- Parameters:
preProcessingMillis- the value for thepreProcessingMillisrecord componentcomputeMillis- the value for thecomputeMillisrecord componentwriteMillis- the value for thewriteMillisrecord componenteffectiveNodeCount- the value for theeffectiveNodeCountrecord componenttotalWeight- the value for thetotalWeightrecord componentsumOfPrizes- the value for thesumOfPrizesrecord componentrelationshipsWritten- the value for therelationshipsWrittenrecord componentconfiguration- the value for theconfigurationrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
preProcessingMillis
public long preProcessingMillis()Returns the value of thepreProcessingMillisrecord component.- Returns:
- the value of the
preProcessingMillisrecord component
-
computeMillis
public long computeMillis()Returns the value of thecomputeMillisrecord component.- Returns:
- the value of the
computeMillisrecord component
-
writeMillis
public long writeMillis()Returns the value of thewriteMillisrecord component.- Returns:
- the value of the
writeMillisrecord component
-
effectiveNodeCount
public long effectiveNodeCount()Returns the value of theeffectiveNodeCountrecord component.- Returns:
- the value of the
effectiveNodeCountrecord component
-
totalWeight
public double totalWeight()Returns the value of thetotalWeightrecord component.- Returns:
- the value of the
totalWeightrecord component
-
sumOfPrizes
public double sumOfPrizes()Returns the value of thesumOfPrizesrecord component.- Returns:
- the value of the
sumOfPrizesrecord component
-
relationshipsWritten
public long relationshipsWritten()Returns the value of therelationshipsWrittenrecord component.- Returns:
- the value of the
relationshipsWrittenrecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-