|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.yccheok.Weight
public class Weight
The weight which will be used in SOM.
| Constructor Summary | |
|---|---|
Weight(int numOfInput)
Creates a new instance of Weight. |
|
| Method Summary | |
|---|---|
int |
getNumOfInput()
Get the number of input. |
double |
getValue(int index)
Get index th of weight value. |
void |
setValue(double value,
int index)
Set index th weight value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Weight(int numOfInput)
numOfInput - The number of input connected by the weights.| Method Detail |
|---|
public double getValue(int index)
index - index th of weight value.
public void setValue(double value,
int index)
value - Value to be set.index - Index th weight value.public int getNumOfInput()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||