KSLCore
Toggle table of contents
R1.3
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
KSLCore
KSLCore
/
ksl.modeling.station.config
/
RoutingSpec
/
ByChance
By
Chance
@
Serializable
@
SerialName
(
value
=
"byChance"
)
data
class
ByChance
(
val
branches
:
List
<
ChanceBranch
>
)
:
RoutingSpec
(
source
)
Route probabilistically;
branches
probabilities must sum to 1.
Members
Constructors
By
Chance
Link copied to clipboard
constructor
(
branches
:
List
<
ChanceBranch
>
)
Properties
branches
Link copied to clipboard
val
branches
:
List
<
ChanceBranch
>