def capture(X,msg,state,xs,reals,nats,params): """Capture data from structures controlled by the user.""" # Check the arguments Optizelle.checkVectorSpace("X",X) Optizelle.checkMessaging("msg",msg) Optizelle.Unconstrained.State.checkT("state",state) Optizelle.checkVectors('xs',xs) Optizelle.checkReals('reals',reals) Optizelle.checkNaturals('nats',nats) Optizelle.checkParams('params',params) # Capture the restart information Optizelle.Utility.UnconstrainedRestartCapture( X,msg,state,xs,reals,nats,params) # Return nothing. The state has been modified. return None
def capture(X, msg, state, xs, reals, nats, params): """Capture data from structures controlled by the user.""" # Check the arguments Optizelle.checkVectorSpace("X", X) Optizelle.checkMessaging("msg", msg) Optizelle.Unconstrained.State.checkT("state", state) Optizelle.checkVectors('xs', xs) Optizelle.checkReals('reals', reals) Optizelle.checkNaturals('nats', nats) Optizelle.checkParams('params', params) # Capture the restart information Optizelle.Utility.UnconstrainedRestartCapture(X, msg, state, xs, reals, nats, params) # Return nothing. The state has been modified. return None