Record Class PrizeCollectingSteinerTreeMutateResult
java.lang.Object
java.lang.Record
org.neo4j.gds.procedures.algorithms.pathfinding.PrizeCollectingSteinerTreeMutateResult
-
Constructor Summary
ConstructorsConstructorDescriptionPrizeCollectingSteinerTreeMutateResult(long preProcessingMillis, long computeMillis, long mutateMillis, long effectiveNodeCount, double totalWeight, double sumOfPrizes, long relationshipsWritten, Map<String, Object> configuration) Creates an instance of aPrizeCollectingSteinerTreeMutateResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecomputeMillisrecord component.Returns the value of theconfigurationrecord component.longReturns the value of theeffectiveNodeCountrecord component.emptyFrom(org.neo4j.gds.applications.algorithms.machinery.AlgorithmProcessingTimings timings, Map<String, Object> configuration) 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 themutateMillisrecord component.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.
-
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 aPrizeCollectingSteinerTreeMutateResultrecord class.- Parameters:
preProcessingMillis- the value for thepreProcessingMillisrecord componentcomputeMillis- the value for thecomputeMillisrecord componentmutateMillis- the value for themutateMillisrecord 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
-
emptyFrom
public static PrizeCollectingSteinerTreeMutateResult emptyFrom(org.neo4j.gds.applications.algorithms.machinery.AlgorithmProcessingTimings timings, Map<String, Object> configuration) -
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
-
mutateMillis
public long mutateMillis()Returns the value of themutateMillisrecord component.- Returns:
- the value of the
mutateMillisrecord 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
-