Record Class ProblemComparisonReport
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ProblemComparisonReport
public record ProblemComparisonReport(String problemType, String objectiveDirection, Double targetFitness, List<AlgorithmComparisonRow> algorithms, List<PairwiseTestResult> pairwiseWilcoxon, FriedmanTestResult friedman, List<ProfileSeries> dataProfiles, List<ProfileSeries> performanceProfiles)
extends Record
Cross-algorithm comparison payload for one problem family.
-
Constructor Summary
ConstructorsConstructorDescriptionProblemComparisonReport(String problemType, String objectiveDirection, Double targetFitness, List<AlgorithmComparisonRow> algorithms, List<PairwiseTestResult> pairwiseWilcoxon, FriedmanTestResult friedman, List<ProfileSeries> dataProfiles, List<ProfileSeries> performanceProfiles) Creates an instance of aProblemComparisonReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmsrecord component.Returns the value of thedataProfilesrecord component.final booleanIndicates whether some other object is "equal to" this one.friedman()Returns the value of thefriedmanrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theobjectiveDirectionrecord component.Returns the value of thepairwiseWilcoxonrecord component.Returns the value of theperformanceProfilesrecord component.Returns the value of theproblemTyperecord component.Returns the value of thetargetFitnessrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProblemComparisonReport
public ProblemComparisonReport(String problemType, String objectiveDirection, Double targetFitness, List<AlgorithmComparisonRow> algorithms, List<PairwiseTestResult> pairwiseWilcoxon, FriedmanTestResult friedman, List<ProfileSeries> dataProfiles, List<ProfileSeries> performanceProfiles) Creates an instance of aProblemComparisonReportrecord class.- Parameters:
problemType- the value for theproblemTyperecord componentobjectiveDirection- the value for theobjectiveDirectionrecord componenttargetFitness- the value for thetargetFitnessrecord componentalgorithms- the value for thealgorithmsrecord componentpairwiseWilcoxon- the value for thepairwiseWilcoxonrecord componentfriedman- the value for thefriedmanrecord componentdataProfiles- the value for thedataProfilesrecord componentperformanceProfiles- the value for theperformanceProfilesrecord component
-
-
Method Details
-
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). -
problemType
Returns the value of theproblemTyperecord component.- Returns:
- the value of the
problemTyperecord component
-
objectiveDirection
Returns the value of theobjectiveDirectionrecord component.- Returns:
- the value of the
objectiveDirectionrecord component
-
targetFitness
Returns the value of thetargetFitnessrecord component.- Returns:
- the value of the
targetFitnessrecord component
-
algorithms
Returns the value of thealgorithmsrecord component.- Returns:
- the value of the
algorithmsrecord component
-
pairwiseWilcoxon
Returns the value of thepairwiseWilcoxonrecord component.- Returns:
- the value of the
pairwiseWilcoxonrecord component
-
friedman
Returns the value of thefriedmanrecord component.- Returns:
- the value of the
friedmanrecord component
-
dataProfiles
Returns the value of thedataProfilesrecord component.- Returns:
- the value of the
dataProfilesrecord component
-
performanceProfiles
Returns the value of theperformanceProfilesrecord component.- Returns:
- the value of the
performanceProfilesrecord component
-