GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IFuzzyBasicComparisonRules

Package | com.lookbackon.AI.fuzzyLogicSystem
Interface | public interface IFuzzyBasicComparisonRules
Implementors | FuzzySystem

The IFuzzyBasicComparisonRulses interface works on the idea that it can be inherited by any object that we wish to implement to. The reason to use an interface is because at this moment in time we don't know what class the interface is going to be used in nor if the rules for the comparisons is even going to be used between objects that are of the same type. I think I should make it specifically clear at this point that what the interface implements is not the rule itself, because at this very low level of dealing with a simple number, it would involve too much twisting logic into the class to make it work. The idea being that at some point a class would use the FuzzyDouble class and deal with the Fuzzy Double depending on the rules set within the object. So at this point, we are merely setting the rules that the type is supposed to adhere to.

See also

http://www.codeproject.com/KB/recipes/fuzzylogicvadaline.aspx

Public Methods

| Method | Defined By
--- | --- | ---
|  | isEqual(value:Number):Number | IFuzzyBasicComparisonRules
|  | isGreaterThan(value:Number):Number | IFuzzyBasicComparisonRules
|  | isLessThan(value:Number):Number | IFuzzyBasicComparisonRules

Method Detail

isEqual | () | method

`public function isEqual(value:Number):Number`

Parameters

| `value:Number`

Returns

| `Number`

isGreaterThan | () | method |

`public function isGreaterThan(value:Number):Number`

Parameters

| `value:Number`

Returns

| `Number`

isLessThan | () | method |

`public function isLessThan(value:Number):Number`

Parameters

| `value:Number`

Returns

| `Number`

Thu Jan 16 2014, 01:11 PM +08:00