The set generates elements in [0, getUntil(i)); where i is the value of the dependent set.
For instance, consider the following sets.
Set t2 = Set("t2").Represents("time periods").HasElementsUntil(4);
Set t1 = Set("t1").Represents("time periods until t2").DependsOn(t2).HasElementsUntil(t1 => t1 + 1);
Set t2 has elements { 0, 1, 2, 3 }.
Set t1 depends on t2; hence, generates different indices for different values of t2:
public static Set HasElementsUntil(
this SetBuilderDepends<Dimension1> state,
Func<int, int> getUntil,
string expression = ""
)