Ejemplo n.º 1
0
def info(params):
    hg = HyperGraph(params)
    print('symbols: %s' % hg.symbol_count())
    print('edges: %s' % hg.edge_count())
    print('total degree: %s' % hg.total_degree())
Ejemplo n.º 2
0
def info(ctx):
    hg = HyperGraph(ctx.obj)
    print('symbols: %s' % hg.symbol_count())
    print('edges: %s' % hg.edge_count())
    print('total degree: %s' % hg.total_degree())