Using model dataflow graphs to reduce the storage requirements of constraints

Bradley T. Vander Zanden and Richard Halterman

Abstract

Dataflow constraints allow programmers to easily specify relationships among application objects in a natural, declarative manner. Most constraint solvers represent these dataflow relationships as directed edges in a dataflow graph. Unfortunately, dataflow graphs require a great deal of storage. Consequently, an application with a large number of constraints can get pushed into virtual memory, and performance degrades in interactive applications. Our solution is based on the observation that objects derived from the same class use the same constraints, and thus have the same dataflow graphs. We represent the common dataflow patterns in a model dataflow graph that is stored with the class. Instance objects may derive explicit dependencies from this graph when the dependencies are needed. Model dependencies provide a useful new mechanism for improving the storage efficiency of dataflow constraint systems, especially when a large number of constrained objects must be managed.

Venue
TOCHI 2001
Volume
ACM Transactions on Computer-Human Interaction, Volume 8
DOI
10.1145/502907.502910
PDF
https://dl.acm.org/doi/pdf/10.1145/502907.502910
Anthology ID
2001.tochi-8.9

Cite

@article{zanden-halterman-2001-using,
    title = {{Using model dataflow graphs to reduce the storage requirements of constraints}},
    author = {Bradley T. Vander Zanden and Richard Halterman},
    journal = {ACM Transactions on Computer-Human Interaction},
    volume = {8},
    issn = {1073-0516},
    year = {2001},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/502907.502910},
    url = {https://doi.org/10.1145/502907.502910},
    abstract = {Dataflow constraints allow programmers to easily specify relationships among application objects in a natural, declarative manner. Most constraint solvers represent these dataflow relationships as directed edges in a dataflow graph. Unfortunately, dataflow graphs require a great deal of storage. Consequently, an application with a large number of constraints can get pushed into virtual memory, and performance degrades in interactive applications. Our solution is based on the observation that objects derived from the same class use the same constraints, and thus have the same dataflow graphs. We represent the common dataflow patterns in a model dataflow graph that is stored with the class. Instance objects may derive explicit dependencies from this graph when the dependencies are needed. Model dependencies provide a useful new mechanism for improving the storage efficiency of dataflow constraint systems, especially when a large number of constrained objects must be managed.}
}