p3j.pppm
Class PPPModelFactory
java.lang.Object
james.core.base.Entity
james.core.base.NamedEntity
james.core.factories.Factory
james.core.model.plugintype.ModelFactory
p3j.pppm.PPPModelFactory
- All Implemented Interfaces:
- james.core.base.IEntity, james.core.base.INamedEntity, james.core.cmdparameters.IParameters, james.core.observe.IObservable, Serializable, Comparable<james.core.base.INamedEntity>
public class PPPModelFactory
- extends james.core.model.plugintype.ModelFactory
Creates ProjectionModel
instances.
- Author:
- Christina Bohk, Roland Ewald
- See Also:
- Serialized Form
Fields inherited from class james.core.factories.Factory |
absParameters |
Methods inherited from class james.core.model.plugintype.ModelFactory |
toString |
Methods inherited from class james.core.factories.Factory |
getOptionalParameters, getParameters, getReadableName, getRequiredParameters, getSubAlgoByParams, getSubAlgoParams, hasParameters |
Methods inherited from class james.core.base.NamedEntity |
compareTo, getCompleteInfoString, getName, setName |
Methods inherited from class james.core.base.Entity |
changed, changed, getMediator, getSimpleId, isObserved, registerObserver, report, report, report, report, report, report, report, report, setMediator, unregister, unregisterObserver, unregisterObservers |
Methods inherited from interface james.core.base.IEntity |
getSimpleId |
Methods inherited from interface james.core.observe.IObservable |
changed, getMediator, registerObserver, setMediator, unregisterObserver, unregisterObservers |
DEFAULT_GENERATIONS
public static final int DEFAULT_GENERATIONS
- Default number of generations.
- See Also:
- Constant Field Values
DEFAULT_YEARS
public static final int DEFAULT_YEARS
- Default number of years to be predicted.
- See Also:
- Constant Field Values
DEFAULT_MAX_AGE
public static final int DEFAULT_MAX_AGE
- Default maximum age.
- See Also:
- Constant Field Values
DEFAULT_JUMP_OFF_YEAR
public static final int DEFAULT_JUMP_OFF_YEAR
- The default calendar year.
PPPModelFactory
public PPPModelFactory()
create
public james.core.model.symbolic.ISymbolicModel<?> create()
- Specified by:
create
in class james.core.model.plugintype.ModelFactory
getFormalism
public james.core.model.formalism.Formalism getFormalism()
- Specified by:
getFormalism
in class james.core.model.plugintype.ModelFactory
getSupportedInterfaces
public List<Class<? extends james.core.model.IModel>> getSupportedInterfaces()
- Specified by:
getSupportedInterfaces
in class james.core.model.plugintype.ModelFactory
createDefaultModel
public ProjectionModel createDefaultModel()
- Creates a default
ProjectionModel
.
- Returns:
- the projection model
createModel
public ProjectionModel createModel(String name,
String description,
int generations,
int years,
int maxAge,
int jumpOffYear)
- Creates a new PPPModel object.
- Parameters:
name
- the namedescription
- the descriptiongenerations
- the number of generationsyears
- the number of yearsmaxAge
- the maximum agejumpOffYear
- the jump-off year
- Returns:
- the projection model
Copyright © 2012. All Rights Reserved.