|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jFuzzyLogic.FIS
public class FIS
Fuzzy inference system A complete inference system contains: - input variables - output variables - fuzzifiers - defuzzifiers - rules
Field Summary | |
---|---|
(package private) java.util.HashMap<java.lang.String,FuzzyRuleSet> |
ruleSets
Several ruleSets indexed by name - Each 'RuleSet' contains 'Variables' and 'FuzzyRules'. |
Constructor Summary | |
---|---|
FIS()
Default constructor |
Method Summary | |
---|---|
FIS |
addFuzzyRuleSet(java.lang.String ruleSetName,
FuzzyRuleSet ruleSet)
Add a new ruleset |
private static FIS |
createFromLexer(FCLLexer lexer,
boolean verbose)
Create a "Fuzzy inference system (FIS)" from an FCL definition string |
static FIS |
createFromString(java.lang.String fclDefinition,
boolean verbose)
Create a "Fuzzy inference system (FIS)" from an FCL definition string |
FuzzyRuleSet |
getFuzzyRuleSet()
Get a fuzzy rule set (first I can find, if there are more that one) |
FuzzyRuleSet |
getFuzzyRuleSet(java.lang.String ruleSetName)
Get a fuzzy rule set |
static FIS |
load(java.lang.String fileName)
Load an FCL file and create a "Fuzzy inference system (FIS)" |
static FIS |
load(java.lang.String fileName,
boolean verbose)
Load an FCL file and create a "Fuzzy inference system (FIS)" |
java.lang.String |
toString()
|
private java.lang.String |
toString(boolean useFCL)
|
java.lang.String |
toStringFCL()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
java.util.HashMap<java.lang.String,FuzzyRuleSet> ruleSets
Constructor Detail |
---|
public FIS()
Method Detail |
---|
private static FIS createFromLexer(FCLLexer lexer, boolean verbose)
lexer
- : lexer to useverbose
- : be verbose?
public static FIS createFromString(java.lang.String fclDefinition, boolean verbose)
fclDefinition
- : FCL definitionverbose
- : Be verbose?
public static FIS load(java.lang.String fileName)
fileName
- : FCL file name
public static FIS load(java.lang.String fileName, boolean verbose)
fileName
- : FCL file nameverbose
- : Be verbose?
public FIS addFuzzyRuleSet(java.lang.String ruleSetName, FuzzyRuleSet ruleSet)
ruleSetName
- : Fuzzy rule set nameruleSet
- : Fuzzy rule set
public FuzzyRuleSet getFuzzyRuleSet()
public FuzzyRuleSet getFuzzyRuleSet(java.lang.String ruleSetName)
ruleSetName
- : Fuzzy rule set's name
public java.lang.String toString()
toString
in class java.lang.Object
private java.lang.String toString(boolean useFCL)
public java.lang.String toStringFCL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |