public class RuleSelector extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
limitDiffForSwitchToCombinatorial |
protected int |
limitFuzziness |
protected int |
ruleNumberLimit |
protected TautomerConst.RSM |
selectionMode |
protected int |
selectionOrder |
Constructor and Description |
---|
RuleSelector() |
Modifier and Type | Method and Description |
---|---|
static RuleSelector |
getDefaultSelectorAll() |
static RuleSelector |
getDefaultSelectorRandom() |
int |
getLimitDiffForSwitchToCombinatorial() |
int |
getRuleNumberLimit() |
TautomerConst.RSM |
getSelectionMode() |
int |
getSelectionOrder() |
List<IRuleInstance> |
selectRules(TautomerManager tman,
List<IRuleInstance> ruleList) |
void |
setLimitDiffForSwitchToCombinatorial(int limitDiffForSwitchToCombinatorial) |
void |
setRuleNumberLimit(int ruleNumberLimit) |
void |
setSelectionMode(TautomerConst.RSM selectionMode) |
void |
setSelectionOrder(int selectionOrder) |
boolean |
switchToCombinatorial() |
protected TautomerConst.RSM selectionMode
protected int ruleNumberLimit
protected int limitFuzziness
protected int limitDiffForSwitchToCombinatorial
protected int selectionOrder
public TautomerConst.RSM getSelectionMode()
public void setSelectionMode(TautomerConst.RSM selectionMode)
public int getRuleNumberLimit()
public void setRuleNumberLimit(int ruleNumberLimit)
public int getLimitDiffForSwitchToCombinatorial()
public void setLimitDiffForSwitchToCombinatorial(int limitDiffForSwitchToCombinatorial)
public boolean switchToCombinatorial()
public int getSelectionOrder()
public void setSelectionOrder(int selectionOrder)
public List<IRuleInstance> selectRules(TautomerManager tman, List<IRuleInstance> ruleList)
public static RuleSelector getDefaultSelectorAll()
public static RuleSelector getDefaultSelectorRandom()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.