Single
typealias Single<Element> = PrimitiveSequence<SingleTrait, Element>
-
Continuous Reinforcement schedule
Important
FR 1 と結果は同一ですが,値の取得に伴なうクロージャの分だけこちらがより高速に動作します。
Complexity
O(1)
Tag: .CRF()
Declaration
Swift
func CRF() -> Single<Bool>
-
Extinction schedule
Complexity
O(1)- Tag: .EXT()
Declaration
Swift
func EXT() -> Single<Bool>
-
Fixed interval schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .FI()
Declaration
Swift
func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed interval schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .FI()
Declaration
Swift
func FI(_ value: Single<Int>) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed ratio schedule
IN A FIXED-RATIO SCHEDULE of reinforcement, every *n*th response produces a reinforcing stimulus.
Skinner, B. F.. Schedules of Reinforcement (B. F. Skinner reprint Series, edited by Julie S. Vargas Book 4) (Kindle Locations 1073-1074). B. F. Skinner Foundation. Kindle Edition.
Complexity
O(1)- Tag: .FR()
Declaration
Swift
func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed ratio schedule
IN A FIXED-RATIO SCHEDULE of reinforcement, every *n*th response produces a reinforcing stimulus.
Skinner, B. F.. Schedules of Reinforcement (B. F. Skinner reprint Series, edited by Julie S. Vargas Book 4) (Kindle Locations 1073-1074). B. F. Skinner Foundation. Kindle Edition.
Complexity
O(1)- Tag: .FR()
Declaration
Swift
func FR(_ value: Single<Int>) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed time schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .FT()
Declaration
Swift
func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed time schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .FT()
Declaration
Swift
func FT(_ value: Single<Int>) -> Single<Bool>
Parameters
value
Reinforcement value
-
Random interval schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .RI()
Declaration
Swift
func RI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool>
Parameters
value
Reinforcement value
-
Random interval schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .RI()
Declaration
Swift
func RI(_ value: Single<Milliseconds>) -> Single<Bool>
Parameters
value
Reinforcement value
-
Random ratio schedule
Complexity
O(1)- Tag: .RR()
Declaration
Swift
func RR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool>
-
Random ratio schedule
Complexity
O(1)- Tag: .RR()
Declaration
Swift
func RR(_ value: Single<Int>) -> Single<Bool>
-
Random time schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .RT()
Declaration
Swift
func RT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool>
Parameters
value
Reinforcement value
-
Random time schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .RT()
Declaration
Swift
func RT(_ value: Single<Milliseconds>) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed interval schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .VI()
Declaration
Swift
func VI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool>
Parameters
value
Reinforcement value
-
Fixed interval schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .VI()
Declaration
Swift
func VI(_ value: Single<Milliseconds>) -> Single<Bool>
Parameters
value
Reinforcement value
-
Variable ratio schedule
Complexity
O(1)- Tag: .VR()
Declaration
Swift
func VR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool>
-
Variable ratio schedule
Complexity
O(1)- Tag: .VR()
Declaration
Swift
func VR(_ value: Single<Int>) -> Single<Bool>
-
Variable time schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .VT()
Declaration
Swift
func VT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool>
Parameters
value
Reinforcement value
-
Variable time schedule
Important
In order to distinguish from Time schedule, there is a limitation of one or more responses since last time.Complexity
O(1)- Tag: .VT()
Declaration
Swift
func VT(_ value: Single<Milliseconds>) -> Single<Bool>
Parameters
value
Reinforcement value