Interface ModelCreator<S extends org.eclipse.emf.ecore.EObject,M extends Model>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ModelCreator<S extends org.eclipse.emf.ecore.EObject,M extends Model>
-
Method Summary
Modifier and TypeMethodDescriptioncreateModel(S scenario, int seed, Engine engine) Returns an instance of a simulation model initialized by its parameters:
-
Method Details
-
createModel
Returns an instance of a simulation model initialized by its parameters:- Parameters:
scenario- instance of the scenario used to initialize the modelseed- random seedengine- instance ofEngineused to initialize the model- Returns:
- Instance of a simulation model, or
nullof initialization failed
-