public class AssetModelMonteCarloFactory extends Object implements ModelFactory<AssetModelDescriptor>
| Constructor and Description |
|---|
AssetModelMonteCarloFactory(AbstractRandomVariableFactory randomVariableFactory,
IndependentIncrements stochasticDriver,
HestonModel.Scheme scheme)
Create the factory.
|
| Modifier and Type | Method and Description |
|---|---|
DescribedModel<? extends AssetModelDescriptor> |
getModelFromDescriptor(AssetModelDescriptor descriptor)
Get the model for the given descriptor.
|
public AssetModelMonteCarloFactory(AbstractRandomVariableFactory randomVariableFactory, IndependentIncrements stochasticDriver, HestonModel.Scheme scheme)
randomVariableFactory - The factory to be used by the models to construct random variables.stochasticDriver - The stochastic driver of the process.scheme - Truncation scheme to be used by the model in the calculation of drift and diffusion coefficients. (Optional parameter, only required by Heston Model).public DescribedModel<? extends AssetModelDescriptor> getModelFromDescriptor(AssetModelDescriptor descriptor)
ModelFactorygetModelFromDescriptor in interface ModelFactory<AssetModelDescriptor>descriptor - An object being able to describe the given model.Copyright © 2019. All rights reserved.