net.finmath.modelling.ModelFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib Show documentation
Show all versions of finmath-lib Show documentation
finmath lib is a Mathematical Finance Library in Java.
It provides algorithms and methodologies related to mathematical finance.
/*
* (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
*
* Created on 09.02.2018
*/
package net.finmath.modelling;
/**
* A factory to instantiate a model from a given descriptor.
*
* Factories are specific to a numerical method.
*
* @author Christian Fries
* @author Luca Del Re
*
* @param An interface extending model descriptor given the descriptor describing the class impelmenting this interface.
* @version 1.0
*/
public interface ModelFactory {
/**
* Get the model for the given descriptor.
*
* @param descriptor An object being able to describe the given model.
* @return The model.
*/
DescribedModel extends T> getModelFromDescriptor(T descriptor);
}