Skip to content

Performance improvement: Use cached matrix to speed up knowability test #125

@eliewolfe

Description

@eliewolfe

In DAGs with edges between outcomes nodes we need to check for the right value of the parent when the child node appears in the monomial. This is a sort of "if this operator is present, then these other operators need to be present as well" situation. This is currently implemented as a function within InflationProblem, but can be improved by caching a boolean matrix with the relevant conditions ahead of time. (Note that we don't need to be concerned with orthogonality, as orthogonal operators never appear in our monomials.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions