|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.htwdd.rosenkoenig.neuro.net.Identity
public class Identity
This is a dummy function that returns the same value for compute that was given to the function and 1.0 for computeDerivation. This is a singleton.
| Field Summary | |
|---|---|
private static Identity |
instance
|
| Constructor Summary | |
|---|---|
private |
Identity()
Ctor, only call base class ctor. |
| Method Summary | |
|---|---|
double |
compute(double value)
Return the identical value. |
double |
computeDerivation(double value)
This function always returns 1.0. |
static Identity |
getInstance()
Getter of the property instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Identity instance
| Constructor Detail |
|---|
private Identity()
| Method Detail |
|---|
public double compute(double value)
compute in interface ActivationFunctionvalue - the value to be returned.
public double computeDerivation(double value)
computeDerivation in interface ActivationFunctionvalue - some arbitrary rubbish.
public static Identity getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||