public class BeliefRules extends Object
Constructor and Description |
---|
BeliefRules() |
Modifier and Type | Method and Description |
---|---|
static void |
addBeliefSetValue(jadex.rules.state.IOAVState state,
Object rbeliefset,
Object fact,
Object scope)
Add a value to a belief set.
|
static void |
addParameterSetValue(jadex.rules.state.IOAVState state,
Object rparameterset,
Object value)
Add a value to a parameter set.
|
static Object[] |
createConditionUserRule(Object mcondition)
Create a rule for an ADF condition.
|
static Object[] |
createDynamicBeliefSetUserRule(Object model,
jadex.rules.rulesystem.rules.Variable var)
Create a rule for a dynamic facts expression.
|
static Object[] |
createDynamicBeliefUserRule(Object model,
jadex.rules.rulesystem.rules.Variable var)
Create a rule for a dynamic fact.
|
static Object[] |
createDynamicParameterSetUserRule(Object mpe,
String ptname,
jadex.rules.rulesystem.rules.Variable var)
Create a rule for a dynamic values expression.
|
static Object[] |
createDynamicParameterUserRule(Object mpe,
String ptname,
jadex.rules.rulesystem.rules.Variable var)
Create a rule for a dynamic parameter value.
|
static Object |
createParameter(jadex.rules.state.IOAVState state,
String name,
Object value,
Class clazz,
Object rpe,
Object mparam,
Object rcapa)
Create a parameter.
|
static Object |
createParameterSet(jadex.rules.state.IOAVState state,
String name,
Collection values,
Class clazz,
Object rpe,
Object mparamset,
Object rcapa)
Create a parameterset.
|
static Object |
getBeliefValue(jadex.rules.state.IOAVState state,
Object rbelief,
Object scope)
Get the value of a belief.
|
static void |
removeBeliefSetValue(jadex.rules.state.IOAVState state,
Object rbeliefset,
Object fact,
Object scope)
Remove a value from a belief set.
|
static void |
removeParameterSetValue(jadex.rules.state.IOAVState state,
Object rparameterset,
Object value)
Remove a value from a parameter set.
|
static void |
setBeliefValue(jadex.rules.state.IOAVState state,
Object rbelief,
Object fact,
Object scope)
Set the value of a belief.
|
static void |
setParameterValue(jadex.rules.state.IOAVState state,
Object rparam,
Object value)
Set the value of a parameter.
|
static void |
storeBeliefSetResults(jadex.rules.state.IOAVState state,
Object rbeliefset,
Object scope)
Store belief set values as results of component.
|
public static void setBeliefValue(jadex.rules.state.IOAVState state, Object rbelief, Object fact, Object scope)
public static Object getBeliefValue(jadex.rules.state.IOAVState state, Object rbelief, Object scope)
public static void addBeliefSetValue(jadex.rules.state.IOAVState state, Object rbeliefset, Object fact, Object scope)
public static void storeBeliefSetResults(jadex.rules.state.IOAVState state, Object rbeliefset, Object scope)
public static void removeBeliefSetValue(jadex.rules.state.IOAVState state, Object rbeliefset, Object fact, Object scope)
public static Object[] createDynamicBeliefUserRule(Object model, jadex.rules.rulesystem.rules.Variable var)
usercond
- The ADF part of the target condition.model
- The belief model element.public static Object[] createDynamicBeliefSetUserRule(Object model, jadex.rules.rulesystem.rules.Variable var)
usercond
- The ADF part of the target condition.model
- The belief set model element.public static Object[] createConditionUserRule(Object mcondition)
usercond
- The user condition.mcond
- The condition's model element.public static Object[] createDynamicParameterUserRule(Object mpe, String ptname, jadex.rules.rulesystem.rules.Variable var)
mpe
- The paremeter model element.usercond
- The ADF part of the target condition.ptname
- The parameter type name (e.g. "location").public static void setParameterValue(jadex.rules.state.IOAVState state, Object rparam, Object value)
public static Object createParameter(jadex.rules.state.IOAVState state, String name, Object value, Class clazz, Object rpe, Object mparam, Object rcapa)
public static Object createParameterSet(jadex.rules.state.IOAVState state, String name, Collection values, Class clazz, Object rpe, Object mparamset, Object rcapa)
public static Object[] createDynamicParameterSetUserRule(Object mpe, String ptname, jadex.rules.rulesystem.rules.Variable var)
mpe
- The parameter model element.usercond
- The ADF part of the dynamic condition.ptname
- The parameter type name (e.g. "location").public static void addParameterSetValue(jadex.rules.state.IOAVState state, Object rparameterset, Object value)
Copyright © 2012. All Rights Reserved.