Record Class TestDfBstar.Result
java.lang.Object
java.lang.Record
experiment.TestDfBstar.Result
- Enclosing class:
TestDfBstar
public static record TestDfBstar.Result(double[] vals, int[][] sizes, double[][] times, long[][] expansions, long[][] evaluations, long[][] maxNodes, long[][] softCols, long[][] hardCols, long[][] TTuses, boolean[][] solved, int[][] solution)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(double[] vals, int[][] sizes, double[][] times, long[][] expansions, long[][] evaluations, long[][] maxNodes, long[][] softCols, long[][] hardCols, long[][] TTuses, boolean[][] solved, int[][] solution) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.long[][]Returns the value of theevaluationsrecord component.long[][]Returns the value of theexpansionsrecord component.long[][]hardCols()Returns the value of thehardColsrecord component.final inthashCode()Returns a hash code value for this object.long[][]maxNodes()Returns the value of themaxNodesrecord component.int[][]sizes()Returns the value of thesizesrecord component.long[][]softCols()Returns the value of thesoftColsrecord component.int[][]solution()Returns the value of thesolutionrecord component.boolean[][]solved()Returns the value of thesolvedrecord component.double[][]times()Returns the value of thetimesrecord component.voidvoidfinal StringtoString()Returns a string representation of this record class.long[][]TTuses()Returns the value of theTTusesrecord component.double[]vals()Returns the value of thevalsrecord component.
-
Constructor Details
-
Result
public Result(double[] vals, int[][] sizes, double[][] times, long[][] expansions, long[][] evaluations, long[][] maxNodes, long[][] softCols, long[][] hardCols, long[][] TTuses, boolean[][] solved, int[][] solution) Creates an instance of aResultrecord class.- Parameters:
vals- the value for thevalsrecord componentsizes- the value for thesizesrecord componenttimes- the value for thetimesrecord componentexpansions- the value for theexpansionsrecord componentevaluations- the value for theevaluationsrecord componentmaxNodes- the value for themaxNodesrecord componentsoftCols- the value for thesoftColsrecord componenthardCols- the value for thehardColsrecord componentTTuses- the value for theTTusesrecord componentsolved- the value for thesolvedrecord componentsolution- the value for thesolutionrecord component
-
-
Method Details
-
toFile
- Throws:
IOException
-
toFile
- Throws:
IOException
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
vals
public double[] vals()Returns the value of thevalsrecord component.- Returns:
- the value of the
valsrecord component
-
sizes
public int[][] sizes()Returns the value of thesizesrecord component.- Returns:
- the value of the
sizesrecord component
-
times
public double[][] times()Returns the value of thetimesrecord component.- Returns:
- the value of the
timesrecord component
-
expansions
public long[][] expansions()Returns the value of theexpansionsrecord component.- Returns:
- the value of the
expansionsrecord component
-
evaluations
public long[][] evaluations()Returns the value of theevaluationsrecord component.- Returns:
- the value of the
evaluationsrecord component
-
maxNodes
public long[][] maxNodes()Returns the value of themaxNodesrecord component.- Returns:
- the value of the
maxNodesrecord component
-
softCols
public long[][] softCols()Returns the value of thesoftColsrecord component.- Returns:
- the value of the
softColsrecord component
-
hardCols
public long[][] hardCols()Returns the value of thehardColsrecord component.- Returns:
- the value of the
hardColsrecord component
-
TTuses
public long[][] TTuses()Returns the value of theTTusesrecord component.- Returns:
- the value of the
TTusesrecord component
-
solved
public boolean[][] solved()Returns the value of thesolvedrecord component.- Returns:
- the value of the
solvedrecord component
-
solution
public int[][] solution()Returns the value of thesolutionrecord component.- Returns:
- the value of the
solutionrecord component
-