|
|||||||||||
| 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.DefaultTopicParameters
This class defines a default implementation of the TopicParametersInterface interface. It defines model parameters which are related to Topics and methods to access them. This class is directly used by the DefaultTopicManager class.
DefaultTopicManager,
DefaultExecuterParameters| Constructor Summary | |
DefaultTopicParameters()
Creates a new default instance for TopicParameters. |
|
| Method Summary | |
int |
getNumTopics()
Returns the number of topics for the model |
void |
initializeDefault()
Initializes the TopicParameters with default values |
void |
setNumTopics(int numTopics)
Stores the number of topics for the model |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultTopicParameters()
TopicParameters. The default values are the values mentioned in the PNAS paper.
| Method Detail |
public void initializeDefault()
TopicParameters with default values
initializeDefault in interface TopicParameterspublic int getNumTopics()
getNumTopics in interface TopicParameters
public void setNumTopics(int numTopics)
throws TarlException
setNumTopics in interface TopicParametersnumTopics - the number of topics for the Model
TarlException - if the field is set with an invalid value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||