edu.stanford.multiagent.gamer.functions
Class ConcaveTableFunction

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
                          |
                          +--edu.stanford.multiagent.gamer.functions.ConcaveTableFunction

public class ConcaveTableFunction
extends IncreasingTableFunction

Class implements a table lookup concave function (for truly random table functions)


Field Summary
 
Fields inherited from class edu.stanford.multiagent.gamer.functions.TableFunction
pMax, pMin, pPoints, table, tfParam
 
Fields inherited from class edu.stanford.multiagent.gamer.functions.Function
dMax, dMin
 
Fields inherited from class edu.stanford.multiagent.gamer.ParameterizedObject
parameters
 
Constructor Summary
ConcaveTableFunction()
           
 
Method Summary
 void doGenerate()
          Generate 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
static void main(java.lang.String[] args)
          Just used for testing
 
Methods inherited from class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
intAndNorm, recGenerate
 
Methods inherited from class edu.stanford.multiagent.gamer.functions.TableFunction
checkParameters, eval, randomizeParameters
 
Methods inherited from class edu.stanford.multiagent.gamer.functions.Function
getDMax, getDMin, getHelp, setDomain
 
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
 

Constructor Detail

ConcaveTableFunction

public ConcaveTableFunction()
                     throws java.lang.Exception
Method Detail

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 IncreasingTableFunction

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 IncreasingTableFunction
Throws:
java.lang.Exception - if there is a problem with the parameters

doGenerate

public void doGenerate()
Generate the table

Overrides:
doGenerate in class IncreasingTableFunction

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Just used for testing

java.lang.Exception