|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectlearningFactorFunctional.ExponentionalFunctionFactor
public class ExponentionalFunctionFactor
Expotentional Function Factor. Return value calculated by function:
indpenend n0 * exp(-c*k)
where:
n0, c - constatn
k - iteration number
Constructor Summary | |
---|---|
ExponentionalFunctionFactor(double n0,
double c)
Creates a new instance of ExponentionalFunctionFactor |
Method Summary | |
---|---|
double[] |
getParameters()
Return array containing parameters. |
double |
getValue(int k)
Return value calculated by function describe by n0 * exp(-c*k) |
void |
setParameters(double[] parameters)
Set parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExponentionalFunctionFactor(double n0, double c)
n0
- constant parameterc
- constant parameterMethod Detail |
---|
public double[] getParameters()
getParameters
in interface LearningFactorFunctionalModel
public void setParameters(double[] parameters)
setParameters
in interface LearningFactorFunctionalModel
parameters
- parameters arraypublic double getValue(int k)
getValue
in interface LearningFactorFunctionalModel
k
- iteratnion number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |