Skip to content

Commit

Permalink
Add hypergraph2simplicial folder
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfpereira committed Jan 28, 2025
1 parent 081e137 commit ca33b81
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions topobenchmark/transforms/liftings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
from .graph2graph import GRAPH2GRAPH_LIFTINGS
from .graph2hypergraph import GRAPH2HYPERGRAPH_LIFTINGS
from .graph2simplicial import GRAPH2SIMPLICIAL_LIFTINGS
from .hypergraph2simplicial import HYPERGRAPH2SIMPLICIAL_LIFTINGS

LIFTINGS = {
**GRAPH2CELL_LIFTINGS,
**GRAPH2HYPERGRAPH_LIFTINGS,
**GRAPH2SIMPLICIAL_LIFTINGS,
**GRAPH2GRAPH_LIFTINGS,
**HYPERGRAPH2SIMPLICIAL_LIFTINGS,
}


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""Hypergraph2SimplicialLifting module with automated exports."""

from topobenchmark.transforms._utils import discover_objs
from topobenchmark.transforms.liftings.base import LiftingMap

HYPERGRAPH2SIMPLICIAL_LIFTINGS = discover_objs(
__file__,
condition=lambda name, obj: issubclass(obj, LiftingMap),
)

locals().update(HYPERGRAPH2SIMPLICIAL_LIFTINGS)

0 comments on commit ca33b81

Please sign in to comment.