A C D E F G H I L M N O P R S

A

add(MembershipFunction) - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Add a membership function.
add(String, double, double, double, double) - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Add a membership function given by its name and trapezoidal region.
addHedge(Hedge) - Method in class org.sazonov.fuzzy.engine.FuzzyState
Add a hedge (derived from engine.Hedge) to the engine

C

copy(String) - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Return an copy of itself with a different name.
createRuleExecutionSet(Reader) - Method in class org.sazonov.fuzzy.engine.FuzzyState
The reader sequence is read and parsed into rules.

D

defuzzify() - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Defuzzify using centroid.

E

EvaluationException - exception org.sazonov.fuzzy.engine.EvaluationException.
This exception is thrown if an error occurs during evaluation of a rule (most likely a MF name is wrong)
executeRules() - Method in class org.sazonov.fuzzy.engine.RuleBlock
Evaluates this block.
executeRules(PrintWriter) - Method in class org.sazonov.fuzzy.engine.RuleBlock
Evaluates this block.

F

Factory - class org.sazonov.fuzzy.engine.Factory.
This class was added to Ed's original code to facilitate extending the package with new or changed funcitonality.
FuzzyRule - class org.sazonov.fuzzy.engine.FuzzyRule.
Container for a fuzzy rule.
FuzzyRule(String) - Constructor for class org.sazonov.fuzzy.engine.FuzzyRule
Constructor.
FuzzyState - class org.sazonov.fuzzy.engine.FuzzyState.
Contains the state of the fuzzy engine.
fuzzify(double) - Method in class org.sazonov.fuzzy.engine.MembershipFunction
Fuzzify a value.

G

getDescription() - Method in class org.sazonov.fuzzy.engine.FuzzyRule
This method is a start (albeit trivial) to move towards JSR94
getDescription() - Method in class org.sazonov.fuzzy.engine.RuleBlock
This method is a start (albeit trivial) to move towards JSR94
getEvaluationResult() - Method in class org.sazonov.fuzzy.engine.FuzzyRule
Returns the result of the left part evaluation.
getFactory() - Static method in class org.sazonov.fuzzy.engine.Factory
 
getFuzzyState() - Method in class org.sazonov.fuzzy.engine.RuleBlock
 
getMembershipFunctionByName(String) - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Return a MembershipFunction belonging to this LinguisticVariable by its name.
getName() - Method in class org.sazonov.fuzzy.engine.FuzzyRule
This method is a start (albeit trivial) to move towards JSR94
getName() - Method in class org.sazonov.fuzzy.engine.Hedge
Abstract method which returns hedge's name.
getName() - Method in class org.sazonov.fuzzy.engine.HedgeNot
getName method for "not".
getName() - Method in class org.sazonov.fuzzy.engine.HedgeSomewhat
getName method for "somewhat"
getName() - Method in class org.sazonov.fuzzy.engine.HedgeVery
getName method for "very"
getName() - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Return the name of this linguistic variable
getName() - Method in class org.sazonov.fuzzy.engine.MembershipFunction
Return name of this membership function.
getName() - Method in class org.sazonov.fuzzy.engine.RuleBlock
This method is a start (albeit trivial) to move towards JSR94
getRange() - Method in class org.sazonov.fuzzy.engine.MembershipFunction
Return 4 points of the trapeziod function.
getRules() - Method in class org.sazonov.fuzzy.engine.RuleBlock
This method is a start (albeit trivial) to move towards JSR94

H

Hedge - class org.sazonov.fuzzy.engine.Hedge.
Abstract class for Hedges.
Hedge() - Constructor for class org.sazonov.fuzzy.engine.Hedge
 
HedgeNot - class org.sazonov.fuzzy.engine.HedgeNot.
Fuzzy "not" is implemented as a hedge
HedgeSomewhat - class org.sazonov.fuzzy.engine.HedgeSomewhat.
This hedge is an implementation of fuzzy "somewhat"
HedgeVery - class org.sazonov.fuzzy.engine.HedgeVery.
This hedge is an implementation of fuzzy "very"
hasRuleFired() - Method in class org.sazonov.fuzzy.engine.RuleBlock
Returns true if any rule in the block has fired during a call to evaluateBlock() or evaluateBlockText().
hedgeIt(double) - Method in class org.sazonov.fuzzy.engine.Hedge
Abstract method for applying hedge.
hedgeIt(double) - Method in class org.sazonov.fuzzy.engine.HedgeNot
hedgeIt method for "not"
hedgeIt(double) - Method in class org.sazonov.fuzzy.engine.HedgeSomewhat
hedgeIt method for "somewhat"
hedgeIt(double) - Method in class org.sazonov.fuzzy.engine.HedgeVery
hedgeIt method for "very"

I

isRuleFired() - Method in class org.sazonov.fuzzy.engine.FuzzyRule
Returns true if the rule fired (during executeRule call).
isRuleFired() - Method in class org.sazonov.fuzzy.engine.FuzzyState
Returns "true" if a rule has fired during the last call to FuzzyEngine.evaluateRule(String).

L

LinguisticVariable - class org.sazonov.fuzzy.engine.LinguisticVariable.
Class for linguistic variables.

M

MembershipFunction - class org.sazonov.fuzzy.engine.MembershipFunction.
Class for fuzzy membership functions.
makeFuzzyState() - Method in class org.sazonov.fuzzy.engine.Factory
 
makeLinguisticVariable(String) - Method in class org.sazonov.fuzzy.engine.Factory
 
makeMembershipFunction(String, double[]) - Method in class org.sazonov.fuzzy.engine.Factory
 

N

NoRulesFiredException - exception org.sazonov.fuzzy.engine.NoRulesFiredException.
This exception is thrown if no rules fired and defuzzification attempted.

O

org.sazonov.fuzzy.engine - package org.sazonov.fuzzy.engine
 

P

plot(double, double, int) - Method in class org.sazonov.fuzzy.engine.MembershipFunction
Return an array with discrete representation of the function.

R

RuleBlock - class org.sazonov.fuzzy.engine.RuleBlock.
Class for a block of fuzzy rules
RulesParsingException - exception org.sazonov.fuzzy.engine.RulesParsingException.
This exception is thrown if an error occurs during parsing a fuzzy rule Exception.getMessage() will return cause of the error
register(LinguisticVariable) - Method in class org.sazonov.fuzzy.engine.FuzzyState
Register a linguistic variable with the engine.
reset() - Method in class org.sazonov.fuzzy.engine.FuzzyState
Reset all previously fired rules.
reset() - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Reset all rules that have previously fired for this LinguisticVariable.

S

setDescription(String) - Method in class org.sazonov.fuzzy.engine.RuleBlock
Set description
setInputValue(double) - Method in class org.sazonov.fuzzy.engine.LinguisticVariable
Set input value for this lingustic variable.
setName(String) - Method in class org.sazonov.fuzzy.engine.RuleBlock
Set its name

A C D E F G H I L M N O P R S