本文整理匯總了Python中Problem.Problem._configure方法的典型用法代碼示例。如果您正苦於以下問題:Python Problem._configure方法的具體用法?Python Problem._configure怎麽用?Python Problem._configure使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Problem.Problem
的用法示例。
在下文中一共展示了Problem._configure方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: _configure
# 需要導入模塊: from Problem import Problem [as 別名]
# 或者: from Problem.Problem import _configure [as 別名]
def _configure(self):
"""
Set members based using inventory.
"""
Problem._configure(self)
self.elasticPrestep = self.inventory.elasticPrestep
self.formulation = self.inventory.formulation
self.checkpointTimer = self.inventory.checkpointTimer
return
示例2: _configure
# 需要導入模塊: from Problem import Problem [as 別名]
# 或者: from Problem.Problem import _configure [as 別名]
def _configure(self):
"""
Set members based using inventory.
"""
Problem._configure(self)
self.faultId = self.inventory.faultId
self.formulation = self.inventory.formulation
self.checkpointTimer = self.inventory.checkpointTimer
return