Skip to content

setSaturationCallback unnecessary computation #89

@AndreaPuffo

Description

@AndreaPuffo

While using the debug output in ESCET, I see that the printing of saturation information makes the controller synthesis much slower (more than 10x). I found out that the call to setSaturationCallback (see

public void setSaturationCallback(SaturationDebugCallback<BDD> callback) {
) is causing this.
Quite often these operations are not even used for the debug printout, since if before is equal to after, no debug info is printed, hence wasting computations.
It would be good to have another implementation of this method that only invokes the callback when before is not equal to after.

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