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

    Constructors
    Constructor
    Description
    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 a Result record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    long[][]
    Returns the value of the evaluations record component.
    long[][]
    Returns the value of the expansions record component.
    long[][]
    Returns the value of the hardCols record component.
    final int
    Returns a hash code value for this object.
    long[][]
    Returns the value of the maxNodes record component.
    int[][]
    Returns the value of the sizes record component.
    long[][]
    Returns the value of the softCols record component.
    int[][]
    Returns the value of the solution record component.
    boolean[][]
    Returns the value of the solved record component.
    double[][]
    Returns the value of the times record component.
    void
    toFile(String filename)
     
    void
    toFile(String filename, boolean append)
     
    final String
    Returns a string representation of this record class.
    long[][]
    Returns the value of the TTuses record component.
    double[]
    Returns the value of the vals record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a Result record class.
      Parameters:
      vals - the value for the vals record component
      sizes - the value for the sizes record component
      times - the value for the times record component
      expansions - the value for the expansions record component
      evaluations - the value for the evaluations record component
      maxNodes - the value for the maxNodes record component
      softCols - the value for the softCols record component
      hardCols - the value for the hardCols record component
      TTuses - the value for the TTuses record component
      solved - the value for the solved record component
      solution - the value for the solution record component
  • Method Details

    • toFile

      public void toFile(String filename) throws IOException
      Throws:
      IOException
    • toFile

      public void toFile(String filename, boolean append) throws IOException
      Throws:
      IOException
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • vals

      public double[] vals()
      Returns the value of the vals record component.
      Returns:
      the value of the vals record component
    • sizes

      public int[][] sizes()
      Returns the value of the sizes record component.
      Returns:
      the value of the sizes record component
    • times

      public double[][] times()
      Returns the value of the times record component.
      Returns:
      the value of the times record component
    • expansions

      public long[][] expansions()
      Returns the value of the expansions record component.
      Returns:
      the value of the expansions record component
    • evaluations

      public long[][] evaluations()
      Returns the value of the evaluations record component.
      Returns:
      the value of the evaluations record component
    • maxNodes

      public long[][] maxNodes()
      Returns the value of the maxNodes record component.
      Returns:
      the value of the maxNodes record component
    • softCols

      public long[][] softCols()
      Returns the value of the softCols record component.
      Returns:
      the value of the softCols record component
    • hardCols

      public long[][] hardCols()
      Returns the value of the hardCols record component.
      Returns:
      the value of the hardCols record component
    • TTuses

      public long[][] TTuses()
      Returns the value of the TTuses record component.
      Returns:
      the value of the TTuses record component
    • solved

      public boolean[][] solved()
      Returns the value of the solved record component.
      Returns:
      the value of the solved record component
    • solution

      public int[][] solution()
      Returns the value of the solution record component.
      Returns:
      the value of the solution record component