|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines all the high-level functions related to Publications. The TarlExecuter solely uses this interface to deal with the Publication environment. Some of these functions are initializing the publications environment, producing a publication, terminating the current year, retreiving the publication database, computing the co-citation graph and cleaning up the publication environment.
The PublicationManager should keep track of current year throughout its existence. The function terminateCurrentYear() should be used for such a task.
| Method Summary | |
void |
cleanUpPublication()
Cleans up the Publication environment. |
PublicationGroup |
getPublications()
Returns the group of Publications. |
void |
initializePublications(PublicationParameters publicationParameters,
java.io.File agingFunctionFile)
Initializes the Publication environment to enable various operations on the Publications. |
void |
producePublications(AuthorsTopicBucket authorsTopicBucket)
Produces Publications for the specified Authors. |
void |
producePublicationsAtStart(AuthorsTopicBucket authorsTopicBucket)
Produces the Publications for the specified authors and topic at the very start of the model |
void |
terminateCurrentYear()
Terminates the current year for the Publication environment. |
| Method Detail |
public void initializePublications(PublicationParameters publicationParameters,
java.io.File agingFunctionFile)
Publication environment to enable various operations on the Publications. This function should be called before calling any other function in PublicationManager.
publicationParameters - Specifies the input parameters related to publications
public void producePublicationsAtStart(AuthorsTopicBucket authorsTopicBucket)
throws TarlException
Publications for the specified authors and topic at the very start of the model
authorsTopicBucket - Specifies the authors and topic for the new publications
TarlException - if the new publications cannot be initialized
public void producePublications(AuthorsTopicBucket authorsTopicBucket)
throws TarlException
Publications for the specified Authors. The function should choose the new publication based on the initialization values it was supplied with.
authorsTopicBucket - Specifies the bucket of authors and their topic who wish to collaborate for the publication
TarlException - if the specified information is insufficient to produce a publicationpublic void terminateCurrentYear()
Publication environment. The function should take the necessary steps to indicate that the current year has ended.
public PublicationGroup getPublications()
Publications. This function can be used to generate the Author-Publication graph at the TarlExecuter level where it has access to the graph of Authors and Publications.
public void cleanUpPublication()
Publication environment. It is responsible for freeing up resources that the Publication environment has used for its execution.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||