r"""Return the neighbor vertex list of the specified hyperedge of the specified hyperedge group. Args: ``e_idx`` (``int``): The index of the hyperedge. ``group_name`` (``str``): The name of the specified hyperedge group.
(self, e_idx: int, group_name: str)
| 575 | return self.N_v(e_idx).cpu().numpy().tolist() |
| 576 | |
| 577 | def nbr_v_of_group(self, e_idx: int, group_name: str) -> List[int]: |
| 578 | r"""Return the neighbor vertex list of the specified hyperedge of the specified hyperedge group. |
| 579 | |
| 580 | Args: |
| 581 | ``e_idx`` (``int``): The index of the hyperedge. |
| 582 | ``group_name`` (``str``): The name of the specified hyperedge group. |
| 583 | """ |
| 584 | assert ( |
| 585 | group_name in self.group_names |
| 586 | ), f"The specified {group_name} is not in existing hyperedge groups." |
| 587 | return self.N_v_of_group(e_idx, group_name).cpu().numpy().tolist() |
| 588 | |
| 589 | @property |
| 590 | def num_groups(self) -> int: |