Click or drag to resize
Accord.NET (logo)

InferenceSystemNewRule Method

Creates a new Rule and add it to the Rulebase of the InferenceSystem.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.7.0
Syntax
public Rule NewRule(
	string name,
	string rule
)
Request Example View Source

Parameters

name
Type: SystemString
Name of the Rule to create.
rule
Type: SystemString
A string representing the fuzzy rule.

Return Value

Type: Rule
The new Rule reference.
See Also