Record Class BoxPlot
java.lang.Object
java.lang.Record
ai.timefold.solver.benchmark.impl.report.BoxPlot
- Record Components:
title-xLabel-yLabel-categories- Typically dataset names.ranges- Keys are range labels (such "Machine reassignment Tabu Search"), values are ranges for each category. Value may be null if there is no data for a category, such as the solver did not run on the dataset.favorites- Range labels that should be highlighted.
- All Implemented Interfaces:
Chart
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecategoriesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefavoritesrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.ranges()Returns the value of therangesrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.voidwriteToFile(Path parentFolder) xLabel()Returns the value of thexLabelrecord component.yLabel()Returns the value of theyLabelrecord component.
-
Constructor Details
-
BoxPlot
public BoxPlot(String id, String title, String xLabel, String yLabel, List<String> categories, Map<String, List<Range>> ranges, Set<String> favorites) Creates an instance of aBoxPlotrecord class.- Parameters:
id- the value for theidrecord componenttitle- the value for thetitlerecord componentxLabel- the value for thexLabelrecord componentyLabel- the value for theyLabelrecord componentcategories- the value for thecategoriesrecord componentranges- the value for therangesrecord componentfavorites- the value for thefavoritesrecord component
-
-
Method Details
-
writeToFile
- Specified by:
writeToFilein interfaceChart
-
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). -
id
-
title
-
xLabel
-
yLabel
-
categories
Returns the value of thecategoriesrecord component.- Returns:
- the value of the
categoriesrecord component
-
ranges
-
favorites
-