|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.interfaces.Network
org.simnet.networks.Competitive
public class Competitive
Competitive implements a Competitive network.
| Field Summary |
|---|
| Fields inherited from class org.simnet.interfaces.Network |
|---|
CONTINUOUS, DISCRETE |
| Constructor Summary | |
|---|---|
Competitive()
Default constructor used by Castor. |
|
Competitive(int numNeurons,
Layout layout)
Constructs a competitive network with specified number of neurons. |
|
| Method Summary | |
|---|---|
double |
getEpsilon()
Return the epsilon. |
double |
getLeakyEpsilon()
Return leaky epsilon value. |
double |
getLoseValue()
Return the loser value. |
boolean |
getNormalizeInputs()
Return the normalize inputs value. |
int |
getNumNeurons()
|
boolean |
getUseLeakyLearning()
Return the leaky learning value. |
double |
getWinValue()
Return the winner value. |
void |
normalizeAllIncomingWeights()
Normalize all weights coming in to this network. |
void |
normalizeIncomingWeights()
Normalize weights coming in to this network, separtely for each neuron. |
void |
randomize()
Randomize and normalize weights. |
void |
randomizeIncomingWeights()
Randomize all weights coming in to this network. |
void |
setEpsilon(double epsilon)
Sets epsilon. |
void |
setLeakyEpsilon(double leakyEpsilon)
Sets the leaky epsilon value. |
void |
setLoseValue(double loseValue)
Sets the loser value. |
void |
setNormalizeInputs(boolean normalizeInputs)
Sets the normalize inputs value. |
void |
setUseLeakyLearning(boolean useLeakyLearning)
Sets the leaky learning value. |
void |
setWinValue(double winValue)
Sets the winner value. |
void |
update()
Update the network. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Competitive()
public Competitive(int numNeurons,
Layout layout)
numNeurons - size of this network in neuronslayout - Defines how neurons are to be layed out| Method Detail |
|---|
public void update()
update in class Networkpublic void normalizeIncomingWeights()
public void normalizeAllIncomingWeights()
public void randomizeIncomingWeights()
public void randomize()
public double getEpsilon()
public void setEpsilon(double epsilon)
epsilon - The new epsilon value.public final double getLoseValue()
public final void setLoseValue(double loseValue)
loseValue - The new loser valuepublic final double getWinValue()
public final void setWinValue(double winValue)
winValue - The new winner valuepublic int getNumNeurons()
public double getLeakyEpsilon()
public void setLeakyEpsilon(double leakyEpsilon)
leakyEpsilon - Leaky epsilon value to setpublic boolean getNormalizeInputs()
public void setNormalizeInputs(boolean normalizeInputs)
normalizeInputs - Normalize inputs value to setpublic boolean getUseLeakyLearning()
public void setUseLeakyLearning(boolean useLeakyLearning)
useLeakyLearning - The leaky learning value to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||