Adaptagrams
|
#include <constraints.h>
Public Member Functions | |
Projection (SepCoSet s, vpsc::Dim d) | |
Standard constructor. More... | |
size_t | size (void) |
Check how many SepCos are in the projection. | |
cola::CompoundConstraints | generateColaConstraints (const ColaGraphRep &cgr) |
Build a vector of cola CompoundConstraints representing the constraints in this Projection. More... | |
std::string | toString (void) const |
Write a string representation. | |
A Projection represents a set of constraints (given by SepCos), together with a dimension in which to project.
|
inline |
Standard constructor.
[in] | s | The set of SepCos onto which to project. |
[in] | d | The dimension in which to project. |
cola::CompoundConstraints Projection::generateColaConstraints | ( | const ColaGraphRep & | cgr | ) |
Build a vector of cola CompoundConstraints representing the constraints in this Projection.
[in] | cgr | A ColaGraphRep so that Node Id's can be mapped to Rectangle indices. |