SolutionData

@Serializable
data class SolutionData(val id: Int, val dataType: String, val subType: String?, val dataName: String, val dataValue: Double)

A class to assist with capturing data from a solution.

Parameters

id

the identifier of the solution

dataType

the type of data in ("solution", "objectiveFunction", "responseEstimate", "input")

subType

a string to assist with identifying the data type

dataName

a string representing the name of the data

dataValue

the value associated with the named data

Constructors

Link copied to clipboard
constructor(id: Int, dataType: String, subType: String?, dataName: String, dataValue: Double)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard