|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfan.fan.utilitarias.fuzzy.FuncaoPertinencia.Sino
public static class FuncaoPertinencia.Sino
Classe que mantém os métodos para calcular a pertinência usando uma função sino generalizada.
Constructor Summary | |
---|---|
FuncaoPertinencia.Sino()
|
Method Summary | |
---|---|
static double |
calcularPertinencia(double valor,
double centro,
double largura,
double declive)
Calcula a pertinência de um valor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FuncaoPertinencia.Sino()
Method Detail |
---|
public static double calcularPertinencia(double valor, double centro, double largura, double declive) throws java.lang.Exception
valor
- o valor ao qual será dada a pertinênciacentro
- o centro da função (c)largura
- a largura da função (a), esse parâmetro deve ser diferente de 0declive
- o declive para a função (b)
java.lang.Exception
- uma exceção é disparada caso o valor de largura seja 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |