Skip to content

Rework AND and OR dummy structure #25

@IbrahimElk

Description

@IbrahimElk

When using model counter to compile a sd-DNNF circuit using klay,
the resulting cirucit contains a lot of dummy nodes.

(gdb) pcirc circuit
A3/0
├── O2/2
│   └── A1/0
│       └── L0/2  (x1)
└── O2/1
    ├── A1/2
    │   └── L0/4  (x2)
    └── A1/3
        └── L0/5  (¬x2)

These can be pruned to be like the following:

(gdb) pcirc circuit
A3/0
├── L0/2       (x1) 
│ 
└── O2/1
    ├──  L0/4  (x2)
    │
    └──  L0/5  (¬x2)

As far as i'm told, @rmanhaeve and @jjcmoon are working on this in the rework branch ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions