All Packages Class Hierarchy This Package Previous Next Index
Class sim.gradDesc.IDD
java.lang.Object
|
+----sim.Experiment
|
+----sim.gradDesc.GradDesc
|
+----sim.gradDesc.IDD
- public class IDD
- extends GradDesc
Incremental Delta Delta (reference "Multi-Agent Residual Advantage Learning With
General Function Approximation" on publication list at http://www-anw.cs.umass.edu/~mharmon).
This code is (c) 1997 Mance Harmon
<mharmon@acm.org>,
http://www-anw.cs.umass.edu/~mharmon
The source and object code may be redistributed freely.
If the code is modified, please state so in the comments.
- Version:
- 1.02, 4 Sep 97
- Author:
- Mance Harmon, Leemon Baird
-
IDD()
-
-
getParameters(int)
- Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.
-
initialize(int)
- Initialize, either partially or completely.
-
runOneStep()
- repeatedly change x until f(x) reaches a local minimum.
-
setWatchManager(WatchManager, String)
- Register all variables with this WatchManager.
IDD
public IDD()
getParameters
public Object[][] getParameters(int lang)
- Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.
- Overrides:
- getParameters in class GradDesc
- See Also:
- getParameters
initialize
public void initialize(int level)
- Initialize, either partially or completely.
- Overrides:
- initialize in class Experiment
- See Also:
- initialize
setWatchManager
public void setWatchManager(WatchManager wm,
String name)
- Register all variables with this WatchManager.
This will be called after all parsing is done.
- Overrides:
- setWatchManager in class GradDesc
runOneStep
public boolean runOneStep()
- repeatedly change x until f(x) reaches a local minimum.
This runs one step of the simulation. The function returns true when the simulation
is completely done. As the simulation is running, it should call
the watchManager.update() function when varaibles change so all the display
windows can be updated.
- Overrides:
- runOneStep in class GradDesc
All Packages Class Hierarchy This Package Previous Next Index