Variable
Namespace: Informedica.GenSolver.Dtos
Handle the creation of a Variable
from a Dto
and
vice versa.
Nested types and modules
Type | Description |
Dto | The |
DtoException | Dto exception type |
Message | Error messages |
Functions and values
Function or value | Description |
apply f d
Signature: f:(Dto -> '?7093) -> d:Dto -> '?7093
Type parameters: '?7093 |
Apply |
createDto (...)
Signature: n:string -> unr:bool -> vals:BigRational list -> min:BigRational option -> minincl:bool -> incr:BigRational option -> max:BigRational option -> maxincl:bool -> Dto
|
Create a |
createNew n
Signature: n:string -> Dto
|
Create an empty new |
fromDtoExc dto
Signature: dto:Dto -> Variable
|
Create a |
fromDtoOpt dto
Signature: dto:Dto -> Variable option
|
Create a |
raiseExc m
Signature: m:Message -> '?7089
Type parameters: '?7089 |
Raises a |
setIncr incr dto
Signature: incr:BigRational option -> dto:Dto -> Dto
|
Set an |
setMax max incl dto
Signature: max:BigRational option -> incl:bool -> dto:Dto -> Dto
|
Set a |
setMin min incl dto
Signature: min:BigRational option -> incl:bool -> dto:Dto -> Dto
|
Set a |
setProp p vs dto
Signature: p:String -> vs:BigRational list -> dto:Dto -> Dto
|
Set a |
setVals vals dto
Signature: vals:BigRational list -> dto:Dto -> Dto
|
Apply an array of |
toDto v
Signature: v:Variable -> Dto
|
Create a |
toString arg1
Signature: Dto -> string
|
Return a |
toValueSet succ fail vals
Signature: succ:(Set<'?7102> -> '?7103) -> fail:(Message -> '?7103) -> vals:seq<'?7102> -> '?7103
Type parameters: '?7102, '?7103 |
Parse a sequence of |