Skip to content

_detect_directed and _detect_uniform_and_order #36

@Jpickard1

Description

@Jpickard1

Issue
The _detect_directed and _detect_uniform_and_order methods are designed to determine properties of the hypergraph. However, they currently operate directly on the numerical representation (e.g., adjacency tensor, incidence matrix, edge set). This approach can lead to inconsistencies when the hypergraph is initialized using the edges and nodes dataframes, which are specified later in the constructor in a standardized format.

Suggestion
To ensure consistency, the _detect_directed and _detect_uniform_and_order methods should be executed either at the end of the hypergraph constructor or after the edges and nodes dataframes are fully initialized.

  • Refactor _detect_directed
  • Refactor _detect_uniform_and_order
  • Test cases for _detect_directed
  • Test cases for _detect_uniform_and_order

Metadata

Metadata

Assignees

Labels

V2Something to change in for version 2bugSomething isn't workinggood first issueGood for newcomers

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions