ModelDescriptor

@Serializable
data class ModelDescriptor(val modelIdentifier: String, val modelName: String, val description: String, val responseNames: Set<String>, val inputNames: Set<String>, val outputDirectory: String, val experimentRunParameters: ExperimentRunParameters, val controlData: List<ControlData>, val rvParameterData: List<RVParameterData>, val configuration: Map<String, String>? = null, val baseTimeUnit: ModelElement.TimeUnit) : ToJSONIfc(source)

A data class that describes a model.

Parameters

modelIdentifier

the user assigned identifier for the model

modelName

the assigned name of the model

description

a user assigned text description of the model

responseNames

the names of responses in the model as a set

inputNames

the names of the model changeable inputs as set

outputDirectory

the path string for the model's output directory

experimentRunParameters

the current settings of the model's run parameters

controlData

the controls data extracted from the model as a list

rvParameterData

the random variable parameter data extracted from the model as a list

configuration

(if available) the Map of the configuration setting for the model

baseTimeUnit

the base time unit setting for the model from the TimeUnit enum

Constructors

Link copied to clipboard
constructor(modelIdentifier: String, modelName: String, description: String, responseNames: Set<String>, inputNames: Set<String>, outputDirectory: String, experimentRunParameters: ExperimentRunParameters, controlData: List<ControlData>, rvParameterData: List<RVParameterData>, configuration: Map<String, String>? = null, baseTimeUnit: ModelElement.TimeUnit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJson(): String