Default Variables

Define the most commonly used variables on all objects (union of nodes and edges). The following explainations give an intuition of how the variables should be used.
x(rows, cols, objects):
For every pixel and given object the value of x is 1 if the object occupies this pixel and 0 otherwise.

b_r(rows, objects):
For every object o this variable is 1 iff r is the first row for which x(r,o) = 1

e_r(rows, objects):
For every object o this variable is 1 iff r is the last row for which x(r,o) = 1

b_c(cols, objects):
For every object o this variable is 1 iff c is the first column for which x(c,o) = 1

e_c(cols, objects):
For every object o this variable is 1 iff c is the last column for which x(c,o) = 1

This makro uses the following other makros:
   • defaultvariables_objects.gdsl