public class TabooSettings extends AbstractLearningSettings
| Constructor and Description |
|---|
TabooSettings() |
| Modifier and Type | Method and Description |
|---|---|
TabooSettings |
copy()
Make a deep copy of the learning settings.
|
static TabooSettings |
createDefault()
Create an instance of the learning settings initialized with the default parameters for this algorithm.
|
APIUtils.LEARNING_ALGORITHM |
getLearningAlgorithm()
Return a
LEARNING_ALGORITHM indicating the learning algorithm to use |
int |
getListLength() |
int |
getMaxChildNumber() |
int |
getMaxParentNumber() |
java.lang.String |
getTargetNodeName()
Return the name of the target node if the learning algorithm is supervised.
|
boolean |
isAllArcsDeleted() |
boolean |
isSupervised()
Indicate if the current learning algorithm is supervised (i.e. it needs a target) or not.
|
boolean |
isUnfixedArcsDeleted() |
boolean |
isUseMaxChildNumber() |
boolean |
isUseMaxParentNumber() |
boolean |
isValid()
Test if the current settings are valid.
|
void |
setAllArcsDeleted(boolean allArcsDeleted) |
void |
setListLength(int listLength) |
void |
setMaxChildNumber(int maxChildNumber) |
void |
setMaxParentNumber(int maxParentNumber) |
void |
setUnfixedArcsDeleted(boolean unfixedArcsDeleted) |
java.lang.String |
toString() |
getSmoothedProbabilityEstimation, getStructuralCoefficient, isVerbose, setSmoothedProbabilityEstimation, setStructuralCoefficient, setVerbosepublic TabooSettings copy()
LearningSettingspublic int getListLength()
public void setListLength(int listLength)
public boolean isUseMaxParentNumber()
public int getMaxParentNumber()
public void setMaxParentNumber(int maxParentNumber)
public boolean isUseMaxChildNumber()
public int getMaxChildNumber()
public void setMaxChildNumber(int maxChildNumber)
public void setAllArcsDeleted(boolean allArcsDeleted)
public boolean isAllArcsDeleted()
public void setUnfixedArcsDeleted(boolean unfixedArcsDeleted)
public boolean isUnfixedArcsDeleted()
public static TabooSettings createDefault()
public java.lang.String toString()
toString in interface LearningSettingstoString in class AbstractLearningSettingspublic APIUtils.LEARNING_ALGORITHM getLearningAlgorithm()
LearningSettingsLEARNING_ALGORITHM indicating the learning algorithm to usepublic boolean isSupervised()
LearningSettingsAPIUtils.LEARNING_ALGORITHM.isSupervised()public java.lang.String getTargetNodeName()
LearningSettingspublic boolean isValid()
LearningSettings