topobench.transforms.liftings.graph2hypergraph.base module#

Abstract class for lifting graphs to hypergraphs.

class Graph2HypergraphLifting(**kwargs)#

Bases: GraphLifting

Abstract class for lifting graphs to hypergraphs.

Parameters:
**kwargsoptional

Additional arguments for the class.

__init__(**kwargs)#
class GraphLifting(feature_lifting='ProjectionSum', preserve_edge_attr=False, **kwargs)#

Bases: AbstractLifting

Abstract class for lifting graph topologies to other domains.

Parameters:
feature_liftingstr, optional

The feature lifting method to be used. Default is ‘ProjectionSum’.

preserve_edge_attrbool, optional

Whether to preserve edge attributes. Default is False.

**kwargsoptional

Additional arguments for the class.

__init__(feature_lifting='ProjectionSum', preserve_edge_attr=False, **kwargs)#