Record Class VariantGenerationResult

java.lang.Object
java.lang.Record
org.variantsync.boosting.eval.util.VariantGenerationResult
Record Components:
variantGenerationDir - The directory where the variants were generated
variantGroundTruthMap - A map of variant names to their corresponding ground truth objects
variantConfigFileMap - A map of variant names to their corresponding configuration file paths

public record VariantGenerationResult(Path variantGenerationDir, Map<String,org.variantsync.vevos.simulation.variability.pc.groundtruth.GroundTruth> variantGroundTruthMap, Map<String,Path> variantConfigFileMap) extends Record
Represents the result of variant generation, including the directory where the variants were generated, a map of variant names to their corresponding ground truth objects, and a map of variant names to their corresponding configuration file paths.
  • Constructor Details

    • VariantGenerationResult

      public VariantGenerationResult(Path variantGenerationDir, Map<String,org.variantsync.vevos.simulation.variability.pc.groundtruth.GroundTruth> variantGroundTruthMap, Map<String,Path> variantConfigFileMap)
      Creates an instance of a VariantGenerationResult record class.
      Parameters:
      variantGenerationDir - the value for the variantGenerationDir record component
      variantGroundTruthMap - the value for the variantGroundTruthMap record component
      variantConfigFileMap - the value for the variantConfigFileMap record component
  • Method Details

    • 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.
    • variantGenerationDir

      public Path variantGenerationDir()
      Returns the value of the variantGenerationDir record component.
      Returns:
      the value of the variantGenerationDir record component
    • variantGroundTruthMap

      public Map<String,org.variantsync.vevos.simulation.variability.pc.groundtruth.GroundTruth> variantGroundTruthMap()
      Returns the value of the variantGroundTruthMap record component.
      Returns:
      the value of the variantGroundTruthMap record component
    • variantConfigFileMap

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