Example #1
0
 def get_solved(self, u):
     return G.get_vertex_property(self, "solved", u)
Example #2
0
 def get_cost(self, u):
     return G.get_vertex_property(self, "costs", u)
Example #3
0
 def get_partner_array(self):
     partner = G.get_vertex_property(self, "partner")
     return partner.get_array()
Example #4
0
 def get_forced(self, u):
     return G.get_vertex_property(self, "forced", u)
Example #5
0
 def get_partner(self, u):
     partner = G.get_vertex_property(self, "partner")
     return partner[u]
Example #6
0
 def get_position_array(self):
     return G.get_vertex_property(self, "position").get_2d_array([0, 1, 2])
Example #7
0
 def get_position(self, u):
     positions = G.get_vertex_property(self, "position")
     return positions[u]
Example #8
0
 def get_orientation_array(self):
     return G.get_vertex_property(self,
                                  "orientation").get_2d_array([0, 1, 2])
Example #9
0
 def get_orientation(self, u):
     orientations = G.get_vertex_property(self, "orientation")
     return orientations[u]