This object represents the factor which decides the node state changes.(决定dflNode的状态的因素)
I_FactorElement
01 Syntax
Microsoft.VisualBasic.DataMining.DFL_Driver.I_FactorElement
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Internal_getEventProbabilities | 1 | 计算公式为 (1-w), 即本函数返回的值越低,则事件越容易发生,请注意使用 rnd >= Internal_getEventProbabilities() 来描述事件发生 |
| get_InteractionQuantity | 1 | 假若事件发生的话,这个函数决定了I_FactorElement.FunctionalState所返回的计算值 |
| ShadowCopy | 1 | dflNode对象初始化的时候所使用的方法 |
| ToString | 1 | |
| set_Quantity | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Weight | 1 | Weight = [-1,1]. (可以带有符号,介于-1到1之间) |
| FunctionalState | 1 | Does this factor effects on the node states changes? value zero is no effects. |
| Quantity | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| _Weight | 1 | I_FactorElement._Weight越大,则I_FactorElement._ABS_Weight越小,即事件发生的阈值越小 |
| _ABS_Weight | 1 | 1 - Math.Abs())(I_FactorElement._Weight) |
05 Members
Internal_getEventProbabilities
计算公式为 (1-w), 即本函数返回的值越低,则事件越容易发生,请注意使用 rnd >= Internal_getEventProbabilities() 来描述事件发生
get_InteractionQuantity
假若事件发生的话,这个函数决定了I_FactorElement.FunctionalState所返回的计算值
ShadowCopy(I_FactorElement, dflNode)
dflNode对象初始化的时候所使用的方法
Parameters
| Name | Type | Description |
|---|---|---|
data | I_FactorElement | - |
Target | dflNode | - |
Weight
Weight = [-1,1]. (可以带有符号,介于-1到1之间)
FunctionalState
Does this factor effects on the node states changes? value zero is no effects. (当前的这个因素是否会影响目标节点的状态值的改变,0表示不影响)
_Weight
I_FactorElement._Weight越大,则I_FactorElement._ABS_Weight越小,即事件发生的阈值越小
_ABS_Weight
1 - Math.Abs()(I_FactorElement._Weight)
Quantity
ToString()
set_Quantity(
Double)