|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.freeform.basic.BasicFreeformConnection
public class BasicFreeformConnection
A basic freeform connection.
| Constructor Summary | |
|---|---|
BasicFreeformConnection(FreeformNeuron theSource,
FreeformNeuron theTarget)
Construct a basic freeform connection. |
|
| Method Summary | |
|---|---|
void |
addTempTraining(int i,
double value)
Add to the specified temp value. |
void |
addWeight(double delta)
Add to the connection weight. |
void |
allocateTempTraining(int l)
Allocate the specified length of temp training. |
void |
clearTempTraining()
Clear the temp training. |
FreeformNeuron |
getSource()
|
FreeformNeuron |
getTarget()
|
double |
getTempTraining(int index)
Get the specified temp training. |
double |
getWeight()
|
boolean |
isRecurrent()
|
void |
setRecurrent(boolean recurrent)
Determine if this is a recurrent connecton. |
void |
setSource(FreeformNeuron source)
Set the source neuron. |
void |
setTarget(FreeformNeuron target)
Set the target neuron. |
void |
setTempTraining(int index,
double value)
Set a temp training value. |
void |
setWeight(double weight)
Set the weight. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicFreeformConnection(FreeformNeuron theSource,
FreeformNeuron theTarget)
theSource - The source neuron.theTarget - The target neuron.| Method Detail |
|---|
public void addTempTraining(int i,
double value)
addTempTraining in interface TempTrainingDatai - The index.value - The value to add.public void addWeight(double delta)
addWeight in interface FreeformConnectiondelta - THe value to add.public void allocateTempTraining(int l)
allocateTempTraining in interface TempTrainingDatal - The length.public void clearTempTraining()
clearTempTraining in interface TempTrainingDatapublic FreeformNeuron getSource()
getSource in interface FreeformConnectionpublic FreeformNeuron getTarget()
getTarget in interface FreeformConnectionpublic double getTempTraining(int index)
getTempTraining in interface TempTrainingDataindex - The indfex.
public double getWeight()
getWeight in interface FreeformConnectionpublic boolean isRecurrent()
isRecurrent in interface FreeformConnectionpublic void setRecurrent(boolean recurrent)
setRecurrent in interface FreeformConnectionrecurrent - True, if this is a recurrent connection.public void setSource(FreeformNeuron source)
setSource in interface FreeformConnectionsource - The source neuron.public void setTarget(FreeformNeuron target)
setTarget in interface FreeformConnectiontarget - The target neuron.
public void setTempTraining(int index,
double value)
setTempTraining in interface TempTrainingDataindex - The index.value - The value.public void setWeight(double weight)
setWeight in interface FreeformConnectionweight - The weight.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||