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.
Issue
The
_detect_directedand_detect_uniform_and_ordermethods 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 theedgesandnodesdataframes, which are specified later in the constructor in a standardized format.Suggestion
To ensure consistency, the
_detect_directedand_detect_uniform_and_ordermethods should be executed either at the end of the hypergraph constructor or after theedgesandnodesdataframes are fully initialized._detect_directed_detect_uniform_and_order_detect_directed_detect_uniform_and_order