|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the function of the TarlExecuter. The TarlExecuter is responsible for the providing the core functions for the Tarl model such as adding an author/publication, publishing for the current year, deactivating an author, terminating the current year, generating output, etc.
TarlHelper| Method Summary | |
void |
cleanUpSystem()
Cleans up the system. |
void |
initializeModel(ExecuterParameters executerParameters,
java.io.File agingFunctionFile)
Initializes itself with the corresponding input parameters. |
void |
producePublications()
Produces Publications for the current year. |
void |
terminateCurrentYear()
Terminates the current year for the system. |
void |
writeOutputFiles(java.lang.String outputFolder)
Writes the Output Files to the file system |
| Method Detail |
public void initializeModel(ExecuterParameters executerParameters,
java.io.File agingFunctionFile)
throws TarlException
TarlExecuter is relying on. This function should be called before calling any other function in the interface.
executerParameters - Specifies the executer parameters of the model
TarlException - if the constraints of the model are violated
public void producePublications()
throws TarlException
Publications for the current year. The TarlExecuter should choose the parameters for producing the publications based on the initialization values that it was supplied with.
TarlException - if the constraints of the model are violated
public void terminateCurrentYear()
throws TarlException
TarlExecuter should update the system to indicate that the current year has terminated.
TarlException - if the new authors cannot be instantiatedpublic void writeOutputFiles(java.lang.String outputFolder)
outputFolder - Specifies the name of the output folderpublic void cleanUpSystem()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||