edu.stanford.multiagent.gamer.functions
Class IncreasingTableFunction
java.lang.Object
|
+--edu.stanford.multiagent.gamer.ParameterizedObject
|
+--edu.stanford.multiagent.gamer.functions.Function
|
+--edu.stanford.multiagent.gamer.functions.TableFunction
|
+--edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
- Direct Known Subclasses:
- ConcaveTableFunction
- public class IncreasingTableFunction
- extends TableFunction
Class implements a table lookup incr. function (for truly random table functions)
Fields inherited from class edu.stanford.multiagent.gamer.functions.Function |
dMax, dMin |
Method Summary |
void |
doGenerate()
Generates the table. |
protected java.lang.String |
getFunctionHelp()
Returns a help string describing the function and the
parameters taken by the function |
void |
initialize()
Calls initialize in the super class ParemeterizedObject which
checks parameters |
protected void |
intAndNorm(double[] deriv)
|
static void |
main(java.lang.String[] args)
Used only for testings |
protected void |
recGenerate(int minIdx,
int maxIdx,
double min,
double max)
|
Methods inherited from class edu.stanford.multiagent.gamer.ParameterizedObject |
getBooleanParameter, getDescription, getDoubleParameter, getLongParameter, getParamDescription, getParameter, getParameters, getStringParameter, setParameter, setParameter, setParameters, setParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncreasingTableFunction
public IncreasingTableFunction()
throws java.lang.Exception
getFunctionHelp
protected java.lang.String getFunctionHelp()
- Description copied from class:
Function
- Returns a help string describing the function and the
parameters taken by the function
- Overrides:
getFunctionHelp
in class TableFunction
initialize
public void initialize()
throws java.lang.Exception
- Description copied from class:
Function
- Calls initialize in the super class ParemeterizedObject which
checks parameters
- Overrides:
initialize
in class TableFunction
- Throws:
java.lang.Exception
- if there is a problem with the parameters
intAndNorm
protected void intAndNorm(double[] deriv)
recGenerate
protected void recGenerate(int minIdx,
int maxIdx,
double min,
double max)
doGenerate
public void doGenerate()
- Description copied from class:
TableFunction
- Generates the table.
- Overrides:
doGenerate
in class TableFunction
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Description copied from class:
TableFunction
- Used only for testings
java.lang.Exception