Adaptagrams
Public Member Functions | List of all members
dialect::Projection Struct Reference

#include <constraints.h>

Collaboration diagram for dialect::Projection:
Collaboration graph

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.
 

Detailed Description

A Projection represents a set of constraints (given by SepCos), together with a dimension in which to project.

Constructor & Destructor Documentation

◆ Projection()

dialect::Projection::Projection ( SepCoSet  s,
vpsc::Dim  d 
)
inline

Standard constructor.

Parameters
[in]sThe set of SepCos onto which to project.
[in]dThe dimension in which to project.

Member Function Documentation

◆ generateColaConstraints()

cola::CompoundConstraints Projection::generateColaConstraints ( const ColaGraphRep cgr)

Build a vector of cola CompoundConstraints representing the constraints in this Projection.

Parameters
[in]cgrA ColaGraphRep so that Node Id's can be mapped to Rectangle indices.

The documentation for this struct was generated from the following files: