|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.ai.nn.network.Weight
Weight of a neuralnet connection
Constructor Summary | |
Weight()
Constructor declaration |
Method Summary | |
void |
addWeightChangeEventListener(WeightChangeEventListener listener)
Adds a weight change event listener. |
double |
getLastDelta()
Get the weight's lastDelta. |
double |
getValue()
Get the weight's value. |
void |
removeWeightChangeEventListener(WeightChangeEventListener listener)
Removes a weight change event listener. |
void |
setLastDelta(double lastDelta)
Set the weight's lastDelta. |
void |
setValue(double value)
Set the weight's value. |
java.lang.String |
toString()
Method declaration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Weight()
Method Detail |
public double getValue()
public void setValue(double value)
value
- The value of this weight.public double getLastDelta()
public void setLastDelta(double lastDelta)
lastDelta
- The lastDelta of this weight.public void addWeightChangeEventListener(WeightChangeEventListener listener)
listener
- listener to add.public void removeWeightChangeEventListener(WeightChangeEventListener listener)
listener
- listener to remove.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |