Package cz.vutbr.fit.layout.cormier
Enum CormierProvider.CormierParameter
- java.lang.Object
-
- java.lang.Enum<CormierProvider.CormierParameter>
-
- cz.vutbr.fit.layout.cormier.CormierProvider.CormierParameter
-
- All Implemented Interfaces:
Serializable,Comparable<CormierProvider.CormierParameter>
- Enclosing class:
- CormierProvider
public static enum CormierProvider.CormierParameter extends Enum<CormierProvider.CormierParameter>
Parameters of the algorithm provided by this service. Their values can be set viaBaseParametrizedOperation.setParam(String, Object), where name can be obtained fromdata'sParameter.getName(), or by using standard setter methods such asCormierProvider.setHalfWindowWidth(int).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EDGE_PROBABILITY_THRESHOLDHALF_WINDOW_WIDTHMAX_LINE_LENGTHMIN_SEGMENT_LENGTHMONTE_CARLO_TRIALSPRIOR_EDGE_PROBABILITYPYRAMID_LEVELSSIGN_LINE_PROB_THRESHOLDSTANDARD_DEVIATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CormierProvider.CormierParametervalueOf(String name)Returns the enum constant of this type with the specified name.static CormierProvider.CormierParameter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HALF_WINDOW_WIDTH
public static final CormierProvider.CormierParameter HALF_WINDOW_WIDTH
-
STANDARD_DEVIATION
public static final CormierProvider.CormierParameter STANDARD_DEVIATION
-
PRIOR_EDGE_PROBABILITY
public static final CormierProvider.CormierParameter PRIOR_EDGE_PROBABILITY
-
PYRAMID_LEVELS
public static final CormierProvider.CormierParameter PYRAMID_LEVELS
-
MAX_LINE_LENGTH
public static final CormierProvider.CormierParameter MAX_LINE_LENGTH
-
EDGE_PROBABILITY_THRESHOLD
public static final CormierProvider.CormierParameter EDGE_PROBABILITY_THRESHOLD
-
MONTE_CARLO_TRIALS
public static final CormierProvider.CormierParameter MONTE_CARLO_TRIALS
-
MIN_SEGMENT_LENGTH
public static final CormierProvider.CormierParameter MIN_SEGMENT_LENGTH
-
SIGN_LINE_PROB_THRESHOLD
public static final CormierProvider.CormierParameter SIGN_LINE_PROB_THRESHOLD
-
-
Field Detail
-
data
public final Parameter data
Data about the parameter used by FitLayout.
-
-
Method Detail
-
values
public static CormierProvider.CormierParameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CormierProvider.CormierParameter c : CormierProvider.CormierParameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CormierProvider.CormierParameter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-