Skip to content

Constructing probabilistic circuits #16

@RenatoGeh

Description

@RenatoGeh

Hi all,

I'm a bit confused on how exactly to create Prob\DeltaNodes. There are no tests (or documentation) showing how to manually create a Probabilistic Circuit, and I'm basing solely on the code itself (more specifically src/Probabilistic/ProbCircuits.jl:Prob\Delta and constructors). From what I understand, every time I create a Prob node, I have to add its Logic counterpart as an "origin". Is this origin required to be the actual underlying Logic node (with corresponding logic children, etc.) or may it be an "empty shell"? I see this origin is used on structured circuits for checking vtrees. But if I were to use only standard probabilistic circuits, would this be really necessary? If not, is there a more lightweight circuit variant where I won't have to allocate double the memory for each circuit?

Many thanks,
Renato

Metadata

Metadata

Assignees

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