GenConstrArray.GenConstrArray()¶
Constructor of genconstrarray.
Synopsis
GenConstrArray()
GenConstrArray.getGenConstr()¶
Get idx-th general constraint object.
Synopsis
GenConstr getGenConstr(int idx)Arguments
idx: index of the general constraint.Return
general constraint object with index idx.
GenConstrArray.pushBack()¶
Add a general constraint object to general constraint array.
Synopsis
void pushBack(GenConstr genconstr)Arguments
genconstr: a general constraint object.
GenConstrArray.reserve()¶
Reserve capacity to contain at least n items.
Synopsis
void reserve(int n)Arguments
n: capacity number of general constraint object.
GenConstrArray.size()¶
Get the number of general constraint objects.
Synopsis
int size()Return
number of general constraint objects.