Class SettingsConstraints
java.lang.Object
si.ijs.kt.clus.main.settings.SettingsBase
si.ijs.kt.clus.main.settings.section.SettingsConstraints
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class si.ijs.kt.clus.main.settings.SettingsBase
SettingsBase.YesNo
-
Field Summary
Fields inherited from class si.ijs.kt.clus.main.settings.SettingsBase
CHARSET, DEFAULT, EMPTY, FOUR_ONES, INFINITY, INFINITY_STRING, INFINITY_VALUE, m_Position, m_Section, NONE, NONELIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Method should handle the INIFileSection initialization.double
getMaxErrorConstraint
(int idx) int
double[]
int
int
getSizeConstraintPruning
(int idx) int
int[]
int
boolean
void
Method should handle initialization of named values.void
setSizeConstraintPruning
(int size) void
setTreeMaxDepth
(int value) For tree to rules procedure, we want to induce a tree without maximum depthMethods inherited from class si.ijs.kt.clus.main.settings.SettingsBase
formatInvalid, formatInvalid, getPosition, getSection, validateSettingsInternal
-
Constructor Details
-
SettingsConstraints
public SettingsConstraints(int position)
-
-
Method Details
-
hasConstraintFile
public boolean hasConstraintFile() -
getTreeMaxDepth
public int getTreeMaxDepth() -
setTreeMaxDepth
public void setTreeMaxDepth(int value) For tree to rules procedure, we want to induce a tree without maximum depth -
getConstraintFile
-
getMaxSize
public int getMaxSize() -
getSizeConstraintPruning
public int getSizeConstraintPruning(int idx) -
getSizeConstraintPruningNumber
public int getSizeConstraintPruningNumber() -
getSizeConstraintPruningVector
public int[] getSizeConstraintPruningVector() -
setSizeConstraintPruning
public void setSizeConstraintPruning(int size) -
getMaxErrorConstraint
public double getMaxErrorConstraint(int idx) -
getMaxErrorConstraintNumber
public int getMaxErrorConstraintNumber() -
getMaxErrorConstraintVector
public double[] getMaxErrorConstraintVector() -
create
public void create()Description copied from class:SettingsBase
Method should handle the INIFileSection initialization.- Specified by:
create
in classSettingsBase
-
initNamedValues
public void initNamedValues()Description copied from class:SettingsBase
Method should handle initialization of named values. E.g.: Use si.ijs.kt.clus.util.jeans.io.ini.INIFileInt.setNamedValue(int, String) and similar methods. This method is not used by all settings sections. It is not abstract, so that it does not have to be implemented by all those sections that do not need it.- Overrides:
initNamedValues
in classSettingsBase
-