|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.input.impl.DefaultExecuterParameters
This class defines a default implementation of the ExecuterParametersInterface interface. It defines model parameters which are needed by the TarlExecuter and methods to access them.
DefaultPublicationParameters,
DefaultAuthorParameters,
DefaultTopicParameters,
DefaultTarlExecuter| Constructor Summary | |
DefaultExecuterParameters()
Creates a new default instance of an ExecuterParameters. |
|
| Method Summary | |
AuthorParameters |
getAuthorParameters()
Returns the AuthorParameters for the model |
int |
getNumAuthorsAtStart()
Returns the number of authors at the start of the Model |
int |
getNumCreationAuthors()
Returns the number of authors to be created in numCreationYears years |
int |
getNumCreationYears()
Returns the number of years in which creation is supposed to take place |
int |
getNumPublicationsAtStart()
Returns the number of publications at the start of the Model |
PublicationParameters |
getPublicationParameters()
Returns the PublicationParameters for the model |
TopicParameters |
getTopicParameters()
Returns the TopicParameters for the model |
YearInformation |
getYearInformation()
Returns the YearInformation for the model |
void |
initializeDefault()
Initializes the ExecuterParameters with default values |
void |
setAuthorParameters(AuthorParameters authorParameters)
Stores the AuthorParameters for the model |
void |
setNumAuthorsAtStart(int numAuthorsAtStart)
Stores the number of authors at the start of the Model |
void |
setNumCreationAuthors(int numCreationAuthors)
Stores the number of authors to be created in numCreationYears years |
void |
setNumCreationYears(int numCreationYears)
Stores the number of years in which creation is supposed to take place |
void |
setNumPublicationsAtStart(int numPublicationsAtStart)
Stores the number of publications at the start of the Model |
void |
setPublicationParameters(PublicationParameters publicationParameters)
Stores the PublicationParameters for the model |
void |
setTopicParameters(TopicParameters topicParameters)
Stores the TopicParameters for the model |
void |
setYearInformation(YearInformation yearInformation)
Stores the YearInformation for the model |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultExecuterParameters()
ExecuterParameters. It initializes the parameters using default values as described in the PNAS paper.
| Method Detail |
public void initializeDefault()
ExecuterParameters with default values
initializeDefault in interface ExecuterParameterspublic int getNumAuthorsAtStart()
getNumAuthorsAtStart in interface ExecuterParameterspublic int getNumPublicationsAtStart()
getNumPublicationsAtStart in interface ExecuterParameterspublic int getNumCreationAuthors()
getNumCreationAuthors in interface ExecuterParameterspublic int getNumCreationYears()
getNumCreationYears in interface ExecuterParameterspublic YearInformation getYearInformation()
YearInformation for the model
getYearInformation in interface ExecuterParameterspublic PublicationParameters getPublicationParameters()
PublicationParameters for the model
getPublicationParameters in interface ExecuterParameterspublic AuthorParameters getAuthorParameters()
AuthorParameters for the model
getAuthorParameters in interface ExecuterParameterspublic TopicParameters getTopicParameters()
TopicParameters for the model
getTopicParameters in interface ExecuterParameters
public void setNumAuthorsAtStart(int numAuthorsAtStart)
throws TarlException
setNumAuthorsAtStart in interface ExecuterParametersnumAuthorsAtStart - the number of authors at the start of the Model
TarlException - if the field is set with an invalid value
public void setNumPublicationsAtStart(int numPublicationsAtStart)
throws TarlException
setNumPublicationsAtStart in interface ExecuterParametersnumPublicationsAtStart - the number of publications at the start of the Model
TarlException - if the field is set with an invalid value
public void setNumCreationAuthors(int numCreationAuthors)
throws TarlException
setNumCreationAuthors in interface ExecuterParametersnumCreationAuthors - the number of authors to be created in numCreationYears years
TarlException - if the field is set with an invalid value
public void setNumCreationYears(int numCreationYears)
throws TarlException
setNumCreationYears in interface ExecuterParametersnumCreationYears - the number of years in which creation is supposed to take place
TarlException - if the field is set with an invalid valuepublic void setYearInformation(YearInformation yearInformation)
YearInformation for the model
yearInformation - Specifies the year information for the modelpublic void setPublicationParameters(PublicationParameters publicationParameters)
PublicationParameters for the model
publicationParameters - Specifies the publicationParameters for the modelpublic void setAuthorParameters(AuthorParameters authorParameters)
AuthorParameters for the model
authorParameters - Specifies the authorParameters for the modelpublic void setTopicParameters(TopicParameters topicParameters)
TopicParameters for the model
topicParameters - Specifies the topicParameters for the model
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||