def __repr__(self): return self.__class__.__name__ + \ '\n\nVertices: ' + str_object(self.vertices.values()) + \ '\n\nConnectors: ' + str_object(self.connectors.values()) + \ '\n\nEdges: ' + str_object(self.edges.values())
def __repr__(self): return self.__class__.__name__ + str_object(self.grasp_trans[:3, 3])
def node_str(self): if isinstance(self.substate, State): return self.substate.__class__.__name__ return '\n'.join([str_object(variable) + '=' + str_object(value) for variable, value in self.substate])
def node_str(self): node_str = self.condition.__class__.__name__ for value in self.condition.__dict__['__hash_dict'].values(): node_str += '\n' + str_object(value) return node_str