Class StepsAttribute
java.lang.Object
org.moeaframework.analysis.plot.style.ValueAttribute<Integer>
org.moeaframework.analysis.plot.style.StepsAttribute
- All Implemented Interfaces:
PlotAttribute
Defines the number of steps used when rendering histogram or deviation plots. That is, when aggregating the data,
the width of each step is
(xMax - xMin) / steps
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StepsAttribute
of
(int steps) Returns an attribute defining the number of steps used when rendering histogram or deviation plots.Methods inherited from class org.moeaframework.analysis.plot.style.ValueAttribute
get
-
Field Details
-
DEFAULT_VALUE
The default value.
-
-
Constructor Details
-
StepsAttribute
public StepsAttribute(int steps) Constructs a new step attribute.- Parameters:
steps
- the number of steps
-
-
Method Details
-
of
Returns an attribute defining the number of steps used when rendering histogram or deviation plots.- Parameters:
steps
- the number of steps- Returns:
- the resulting attribute
-