public class PPPModelFactory
extends james.core.model.plugintype.ModelFactory
ProjectionModel
instances.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_GENERATIONS
Default number of generations.
|
static int |
DEFAULT_JUMP_OFF_YEAR
The default calendar year.
|
static int |
DEFAULT_MAX_AGE
Default maximum age.
|
static int |
DEFAULT_YEARS
Default number of years to be predicted.
|
Constructor and Description |
---|
PPPModelFactory() |
Modifier and Type | Method and Description |
---|---|
james.core.model.symbolic.ISymbolicModel<?> |
create() |
ProjectionModel |
createDefaultModel()
Creates a default
ProjectionModel . |
ProjectionModel |
createModel(String name,
String description,
int generations,
int years,
int maxAge,
int jumpOffYear)
Creates a new PPPModel object.
|
james.core.model.formalism.Formalism |
getFormalism() |
List<Class<? extends james.core.model.IModel>> |
getSupportedInterfaces() |
getOptionalParameters, getParameters, getReadableName, getRequiredParameters, getSubAlgoByParams, getSubAlgoParams, hasParameters
compareTo, getCompleteInfoString, getName, setName
changed, changed, getMediator, getSimpleId, isObserved, registerObserver, report, report, report, report, report, report, report, report, setMediator, unregister, unregisterObserver, unregisterObservers
public static final int DEFAULT_GENERATIONS
public static final int DEFAULT_YEARS
public static final int DEFAULT_MAX_AGE
public static final int DEFAULT_JUMP_OFF_YEAR
public james.core.model.symbolic.ISymbolicModel<?> create()
create
in class james.core.model.plugintype.ModelFactory
public james.core.model.formalism.Formalism getFormalism()
getFormalism
in class james.core.model.plugintype.ModelFactory
public List<Class<? extends james.core.model.IModel>> getSupportedInterfaces()
getSupportedInterfaces
in class james.core.model.plugintype.ModelFactory
public ProjectionModel createDefaultModel()
ProjectionModel
.public ProjectionModel createModel(String name, String description, int generations, int years, int maxAge, int jumpOffYear)
name
- the namedescription
- the descriptiongenerations
- the number of generationsyears
- the number of yearsmaxAge
- the maximum agejumpOffYear
- the jump-off yearCopyright © 2012. All Rights Reserved.