Package | Description |
---|---|
controller |
This package is the controller package of the model-view-controller
(MVC) pattern.
|
controller.syntax |
This package is the syntax package of the controller package.
|
model |
This package is the model package of the model-view-controller
(MVC) pattern.
|
Modifier and Type | Method and Description |
---|---|
static Rule |
Interpreter.stringToRule(String string,
HashMap<String,Variable> variables)
Deprecated.
Converts the input string into a
Rule object. |
Modifier and Type | Method and Description |
---|---|
Rule |
JLPSSyntaxParser.macroaction() |
Rule |
JLPSSyntaxParser.rule() |
Modifier and Type | Field and Description |
---|---|
private Rule |
AbstractSolutionNode.currentRule |
Modifier and Type | Field and Description |
---|---|
private List<Rule> |
RuleSet.rules |
Modifier and Type | Method and Description |
---|---|
Rule |
AbstractSolutionNode.getCurrentRule()
Gets the rule on which the node is currently working.
|
Rule |
RuleSet.getRule(int index)
Gets the rule at the specified position.
|
Rule |
RuleSet.getRuleStandardizedApart(int index)
Gets the standardized version of the rule number
index . |
Rule |
AbstractSolutionNode.nextRule()
Gets the next rule to work with.
|
Rule |
Rule.replaceVariables(SubstitutionSet s)
Replaces all the variables in the rule according to the specified
bindings.
|
Rule |
Rule.standardizeVariablesApart(Hashtable<Variable,Variable> newVars)
Standardizes the variables in order to be sure that there won't be any
variable clashes.
|
Modifier and Type | Method and Description |
---|---|
List<Rule> |
RuleSet.getRules()
Gets all the rules of the set.
|
Modifier and Type | Method and Description |
---|---|
void |
GoalSet.addDefinition(Rule rule)
Adds the specified definition to the right goal or creates it if needed.
|
void |
Goal.addDefinition(Rule rule)
Adds the specified rule-definition to the goal's definitions.
|
void |
CycleHandler.addEvent(Rule event)
Adds the specified event/action to the events set.
|
void |
RuleSet.addRule(Rule rule)
Adds the specified rule.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleSet.addRules(List<Rule> rules)
Adds all the rules that are in the specified
List . |
void |
Database.addRulesDatabase(List<Rule> rules)
Adds rules to the database.
|
Constructor and Description |
---|
RuleSet(Rule... rules)
Constructor of the class.
|
Constructor and Description |
---|
RuleSet(List<Rule> rules)
Constructor of the class.
|