getInteractionsExcept -> genRandomInteractionsExcept
This commit is contained in:
parent
879b75f201
commit
6ec9aa1b51
2 changed files with 8 additions and 8 deletions
|
|
@ -24,12 +24,12 @@ let genInitialInteractions biasTowardsLight =
|
|||
Gen.listOf <| genInteraction biasTowardsLight ]
|
||||
|> concatGens
|
||||
|
||||
let genInteractionsExcept biasTowardsLight disqualifier =
|
||||
let genRandomInteractionsExcept biasTowardsLight disqualifier =
|
||||
genInteraction biasTowardsLight
|
||||
|> Gen.filter (not << disqualifier)
|
||||
|> Gen.listOf
|
||||
|
||||
let genInitialInteractionsExcept biasTowardsLight disqualifier =
|
||||
[ genTimeChanged |> Gen.map List.singleton
|
||||
genInteractionsExcept biasTowardsLight disqualifier ]
|
||||
genRandomInteractionsExcept biasTowardsLight disqualifier ]
|
||||
|> concatGens
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue