|
|||||||||||
| 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.DefaultPublicationParameters
This class defines a default implementation of the PublicationParametersInterface interface. It defines model parameters which are related to Publications and methods to access them. This class is directly used by the DefaultPublicationManager class.
DefaultPublicationManager,
DefaultExecuterParameters| Constructor Summary | |
DefaultPublicationParameters()
Creates a new default instance for PublicationParameters. |
|
| Method Summary | |
boolean |
getAgingEnabled()
Returns whether aging has been enabled for the model or not |
int |
getNumLevelsReferences()
Returns the number of levels of references considered for reading publications |
int |
getNumPublicationsCited()
Returns the number of publications to be cited |
int |
getNumPublicationsRead()
Returns the number of publications to be read |
int |
getNumPublicationsWritten()
Returns the number of publications to be written by each author each year |
YearInformation |
getYearInformation()
Returns the YearInformation for the model |
void |
initializeDefault()
Initializes the PublicationParameters with default values |
void |
setAgingEnabled(boolean agingEnabled)
Stores whether aging has been enabled for the model or not |
void |
setNumLevelsReferences(int numLevelsReferences)
Stores the number of levels of references considered for reading publications |
void |
setNumPublicationsCited(int numPublicationsCited)
Stores the number of publications to be cited |
void |
setNumPublicationsRead(int numPublicationsRead)
Stores the number of publications to be read |
void |
setNumPublicationsWritten(int numPublicationsWritten)
Stores the number of publications to be written by each author each year |
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 DefaultPublicationParameters()
PublicationParameters. The default values are the values mentioned in the PNAS paper.
| Method Detail |
public void initializeDefault()
PublicationParameters with default values
initializeDefault in interface PublicationParameterspublic boolean getAgingEnabled()
getAgingEnabled in interface PublicationParameterspublic int getNumPublicationsRead()
getNumPublicationsRead in interface PublicationParameterspublic int getNumPublicationsCited()
getNumPublicationsCited in interface PublicationParameterspublic int getNumPublicationsWritten()
getNumPublicationsWritten in interface PublicationParameterspublic int getNumLevelsReferences()
getNumLevelsReferences in interface PublicationParameterspublic YearInformation getYearInformation()
YearInformation for the model
getYearInformation in interface PublicationParameters
public void setAgingEnabled(boolean agingEnabled)
throws TarlException
setAgingEnabled in interface PublicationParametersagingEnabled - Specifies whether aging has been enabled
TarlException - if the field is set with an invalid value
public void setNumPublicationsRead(int numPublicationsRead)
throws TarlException
setNumPublicationsRead in interface PublicationParametersnumPublicationsRead - the number of publications to be read
TarlException - if the field is set with an invalid value
public void setNumPublicationsCited(int numPublicationsCited)
throws TarlException
setNumPublicationsCited in interface PublicationParametersnumPublicationsCited - the number of publications to be cited
TarlException - if the field is set with an invalid value
public void setNumPublicationsWritten(int numPublicationsWritten)
throws TarlException
setNumPublicationsWritten in interface PublicationParametersnumPublicationsWritten - the number of publications to be written by each author each year
TarlException - if the field is set with an invalid value
public void setNumLevelsReferences(int numLevelsReferences)
throws TarlException
setNumLevelsReferences in interface PublicationParametersnumLevelsReferences - the number of levels of references considered for reading publications
TarlException - if the field is set with an invalid valuepublic void setYearInformation(YearInformation yearInformation)
YearInformation for the model
setYearInformation in interface PublicationParametersyearInformation - Specifies the year information for the model
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||