|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FuzzyCalculatorI
A fuzzy calculator offers the four base aithmethic operations like a normal calculator. It supports addition, substratcion, multiplication, and devision on fuzzy numbers and intervals (even of LR type).
| Method Summary | |
|---|---|
FuzzyInterval |
add(FuzzyInterval operand1,
FuzzyInterval operand2)
Adds fuzzy interval operand1 to fuzzy interval
operand2. |
FuzzyLRInterval |
add(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
Adds fuzzy LR interval operand1 to fuzzy LR interval
operand2. |
FuzzyLRNumber |
add(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
Adds fuzzy LR number operand1 to fuzzy LR number
operand2. |
FuzzyNumber |
add(FuzzyNumber operand1,
FuzzyNumber operand2)
Adds fuzzy number operand1 to fuzzy number
operand2. |
FuzzyInterval |
divide(FuzzyInterval operand1,
FuzzyInterval operand2)
Devides fuzzy interval operand1 through fuzzy interval
operand2. |
FuzzyLRInterval |
divide(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
Devides fuzzy LR interval operand1 through fuzzy LR
interval operand2. |
FuzzyLRNumber |
divide(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
Devides fuzzy LR number operand1 through fuzzy LR number
operand2. |
FuzzyNumber |
divide(FuzzyNumber operand1,
FuzzyNumber operand2)
Devides fuzzy number operand1 through fuzzy number
operand2. |
FuzzyInterval |
multiply(FuzzyInterval operand1,
FuzzyInterval operand2)
Multiplies fuzzy interval operand1 with fuzzy interval
operand2. |
FuzzyLRInterval |
multiply(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
Multiplies fuzzy LR interval operand1 with fuzzy LR
interval operand2. |
FuzzyLRNumber |
multiply(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
Multiplies fuzzy LR number operand1 with fuzzy LR number
operand2. |
FuzzyNumber |
multiply(FuzzyNumber operand1,
FuzzyNumber operand2)
Multiplies fuzzy number operand1 with fuzzy number
operand2. |
FuzzyInterval |
subtract(FuzzyInterval operand1,
FuzzyInterval operand2)
Subtracts fuzzy interval operand2 from fuzzy interval
operand1. |
FuzzyLRInterval |
subtract(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
Subtracts fuzzy LR interval operand2 from fuzzy LR interval
operand1. |
FuzzyLRNumber |
subtract(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
Subtracts fuzzy LR number operand2 from fuzzy LR number
operand1. |
FuzzyNumber |
subtract(FuzzyNumber operand1,
FuzzyNumber operand2)
Subtracts fuzzy number operand2 from fuzzy number
operand1. |
| Method Detail |
|---|
FuzzyInterval add(FuzzyInterval operand1,
FuzzyInterval operand2)
operand1 to fuzzy interval
operand2.
operand1 - The first operandoperand2 - The second operand
FuzzyLRInterval add(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
operand1 to fuzzy LR interval
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyLRNumber add(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
operand1 to fuzzy LR number
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyNumber add(FuzzyNumber operand1,
FuzzyNumber operand2)
operand1 to fuzzy number
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyInterval divide(FuzzyInterval operand1,
FuzzyInterval operand2)
operand1 through fuzzy interval
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
ArithmeticException - if the membership function of
operand2 is not defined at x = 0. It would be a
division by zero.
FuzzyLRInterval divide(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
operand1 through fuzzy LR
interval operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
ArithmeticException - if the membership function of
operand2 is not defined at x = 0. It would be a
division by zero.
FuzzyLRNumber divide(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
operand1 through fuzzy LR number
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
ArithmeticException - if the membership function of
operand2 is not defined at x = 0. It would be a
division by zero.
FuzzyNumber divide(FuzzyNumber operand1,
FuzzyNumber operand2)
operand1 through fuzzy number
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
ArithmeticException - if the membership function of
operand2 is not defined at x = 0. It would be a
division by zero.
FuzzyInterval multiply(FuzzyInterval operand1,
FuzzyInterval operand2)
operand1 with fuzzy interval
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyLRInterval multiply(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
operand1 with fuzzy LR
interval operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyLRNumber multiply(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
operand1 with fuzzy LR number
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyNumber multiply(FuzzyNumber operand1,
FuzzyNumber operand2)
operand1 with fuzzy number
operand2.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyInterval subtract(FuzzyInterval operand1,
FuzzyInterval operand2)
operand2 from fuzzy interval
operand1.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyLRInterval subtract(FuzzyLRInterval operand1,
FuzzyLRInterval operand2)
operand2 from fuzzy LR interval
operand1.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyLRNumber subtract(FuzzyLRNumber operand1,
FuzzyLRNumber operand2)
operand2 from fuzzy LR number
operand1.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
FuzzyNumber subtract(FuzzyNumber operand1,
FuzzyNumber operand2)
operand2 from fuzzy number
operand1.
operand1 - The first operandoperand2 - The second operand
NullPointerException - if at least one operand is
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||