-
Declaration
Swift
public let beforeIteration: Bool
-
Undocumented
Declaration
Swift
public var period: Int
-
Undocumented
Declaration
Swift
public var printPrefix: String
-
Declaration
Swift
public init(period: Int = 1, showSTD: Bool = true, printPrefix: String? = nil)
Parameters
period
how often to print the evaluation result
showSTD
whether to show the standard deviation
printPrefix
the prefix string for each printed message, default as “[Simple callback printer]”
-
Declaration
Swift
public func callback(env: CallbackEnv)