|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--librarian.ppProcessor
The class collects several tools used when pre- or postprocessing a LEA move. It contains information about:
Field Summary | |
int |
currentTestDataLine
|
interagents.EuLab |
objectTrace
|
static int |
PIDGIN_MINUS_MAX
The number of allowed minuses in a pidgin object reference |
Constructor Summary | |
ppProcessor()
Readies the ppProcessor for use, miscellaneous initialization |
Method Summary | |
void |
addLabel(interagents.wrapItemBlock wib,
java.lang.String label)
|
void |
chooseTestDataLine(int line)
Chooses a line of test data, checking if existant if line>0 |
void |
clearObjectTrace()
|
void |
clearTestDataBase()
|
void |
designReadTestData(fundamentals.EuArguments args)
|
java.util.Random |
getCroupier()
|
librarian.EuLibrarian |
getLibrarian()
|
interagents.EuLab |
getObjectTrace()
|
fundamentals.EuArguments |
getTestDataLine()
|
double |
getTestDatum(int n)
|
int |
historyLookup(int typeIndex,
int back)
Looks up the EuLab index of a previous output of type typeIndex. |
interagents.wrapItemBlock |
labelLookup(java.lang.String label)
|
void |
readTestData(fundamentals.EuArguments args)
Read arguments from a TestDatum command into the test database. |
void |
setCroupier(java.util.Random croupier)
|
void |
setLibrarian(librarian.EuLibrarian librarian)
|
void |
updateHistory(interagents.finalWrapper out)
Update history with the data in the supplied wrapper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int currentTestDataLine
public interagents.EuLab objectTrace
public static final int PIDGIN_MINUS_MAX
Constructor Detail |
public ppProcessor()
Method Detail |
public int historyLookup(int typeIndex, int back) throws InternalException, DesignException
typeIndex
- index of object typeback
- how much back in time to go
InternalException
- if back too small or large
DesignException
- if no such history availablepublic interagents.wrapItemBlock labelLookup(java.lang.String label)
public void addLabel(interagents.wrapItemBlock wib, java.lang.String label)
public void updateHistory(interagents.finalWrapper out)
out
- recent output with which to updatepublic void chooseTestDataLine(int line) throws DesignException
line
- indexed from 0 and up
DesignException
- if no such linepublic fundamentals.EuArguments getTestDataLine() throws DesignException
DesignException
public double getTestDatum(int n) throws DesignException
n
- the number of the datum, indexed from 0 and up
DesignException
- if no such datumpublic void readTestData(fundamentals.EuArguments args) throws DesignException, InternalException
args
- arguments to pass
DesignException
- if argument lenghts are varying
InternalException
public void clearTestDataBase()
public void designReadTestData(fundamentals.EuArguments args) throws DesignException, InternalException
DesignException
InternalException
public void setLibrarian(librarian.EuLibrarian librarian)
public librarian.EuLibrarian getLibrarian()
public void setCroupier(java.util.Random croupier)
public java.util.Random getCroupier()
public interagents.EuLab getObjectTrace()
public void clearObjectTrace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |