MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / v_weight

Method v_weight

easygraph/classes/base.py:450–454  ·  view source on GitHub ↗

r"""Return the vertex weights of the hypergraph.

(self)

Source from the content-addressed store, hash-verified

448
449 @property
450 def v_weight(self) -> List[float]:
451 r"""Return the vertex weights of the hypergraph."""
452 if self._v_weight is None:
453 self._v_weight = [1.0] * self.num_v
454 return self._v_weight
455
456 @v_weight.setter
457 def v_weight(self, v_weight: List[float]):

Callers

nothing calls this directly

Calls 1

_clear_cacheMethod · 0.95

Tested by

no test coverage detected