Module net.finmath.lib
Class BlackScholesModelMonteCarloFactory
java.lang.Object
net.finmath.modelling.modelfactory.BlackScholesModelMonteCarloFactory
- All Implemented Interfaces:
ModelFactory<BlackScholesModelDescriptor>
public class BlackScholesModelMonteCarloFactory
extends Object
implements ModelFactory<BlackScholesModelDescriptor>
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionBlackScholesModelMonteCarloFactory(RandomVariableFactory randomVariableFactory, IndependentIncrements brownianMotion)
-
Method Summary
Modifier and TypeMethodDescriptiongetModelFromDescriptor(BlackScholesModelDescriptor modelDescriptor)
Get the model for the given descriptor.
-
Constructor Details
-
BlackScholesModelMonteCarloFactory
public BlackScholesModelMonteCarloFactory(RandomVariableFactory randomVariableFactory, IndependentIncrements brownianMotion)
-
-
Method Details
-
getModelFromDescriptor
public DescribedModel<BlackScholesModelDescriptor> getModelFromDescriptor(BlackScholesModelDescriptor modelDescriptor)Description copied from interface:ModelFactory
Get the model for the given descriptor.- Specified by:
getModelFromDescriptor
in interfaceModelFactory<BlackScholesModelDescriptor>
- Parameters:
modelDescriptor
- An object being able to describe the given model.- Returns:
- The model.
-