Class ProjWin
java.lang.Object
|
+----ProjWin
- public class ProjWin
- extends Object
- implements Parsable
A project window. This window displays one Project object.
This code is (c) 1996 Leemon Baird
<leemon@cs.cmu.edu>,
http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely.
If the code is modified, please state so in the comments.
- Version:
- 1.01, 24 July 96
- Author:
- Leemon Baird
-
project
- The Project displayed in this window
-
ProjWin()
-
-
BNF(int)
- Return the BNF description of how to parse the parameters of this object.
-
destroy()
- Kill all the threads and windows and graphics contexts for
this Project and its window.
-
getParameters(int)
- Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.
-
initialize(int)
- Initialize, either partially or completely.
-
parse(Parser, int)
- Parse the input file to get the parameters for this object.
-
unparse(Unparser, int)
- Output a description of this object that can be parsed with parse().
project
public Project project
- The Project displayed in this window
ProjWin
public ProjWin()
getParameters
public Object[][] getParameters(int lang)
- Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.
- See Also:
- getParameters
BNF
public String BNF(int lang)
- Return the BNF description of how to parse the parameters of this object.
unparse
public void unparse(Unparser u,
int lang)
- Output a description of this object that can be parsed with parse().
parse
public Object parse(Parser p,
int lang) throws ParserException
- Parse the input file to get the parameters for this object.
- Throws: ParserException
- parser didn't find the required token
initialize
public void initialize(int level)
- Initialize, either partially or completely. initialize(0) is
called once, after parse() and setWatchManager() has been called
on every object. Higher values for level mean only partial
initialization is needed. For example, for reinforcement learning
experiments, level=1 at the start of an experiment, level=2 at the
start of a run, and level=3 at the start of a trial.
- See Also:
- initialize
destroy
public void destroy()
- Kill all the threads and windows and graphics contexts for
this Project and its window.