Commit b916d5da authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

add helpers in State python class : isBalanced, isValid, robustness

parent a3e214d4
......@@ -148,6 +148,14 @@ class State (object):
return self.fullBody.getContactsVariations(self.sId,state.sId)
def isValid(self):
return self.fullBody.isConfigValid(
def isBalanced(self,robustness = 0):
return self.fullBody.isStateBalanced(self.sId,robustness)
def robustness(self):
return self.fullBody.client.rbprm.rbprm.isStateBalanced(self.sId)
class StateHelper(object):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment