Variable#
Constructor#
Initialize a new Variable instance.
Argument |
Type |
Description |
Required |
Default |
|---|---|---|---|---|
|
|
A reference to the Container object that the symbol is being added to |
Yes |
|
|
|
Name of symbol |
Yes |
|
|
|
Type of variable being created [ |
No |
|
|
|
List, vector of domains given either as a string ( |
No |
NULL |
|
many |
Symbol records |
No |
NULL |
|
|
Flag or a vector of flags that forces variable elements to be recursively included in corresponding parent sets (i.e., implicit set definition ) |
No |
FALSE |
|
|
Description of symbol |
No |
“” |
Fields#
Field |
Description |
Type |
|---|---|---|
|
reference to the Container that the symbol belongs to |
|
|
default values for the symbol |
|
|
description of symbol |
|
|
dimension of symbol, setting dimension is a shorthand notation to set |
|
|
list of domains given either as string ( |
|
|
Flag or a vector of flags that forces variable elements to be recursively included in corresponding parent sets (i.e., implicit set definition ) |
|
|
column headings for the |
|
|
string version of domain names |
|
|
|
|
|
TRUE if |
|
|
name of symbol |
|
|
number of symbol records (i.e., returns |
|
|
the main symbol records |
|
|
a vector describing the array dimensions if |
|
|
output a |
|
|
|
|
Methods#
Method |
Description |
Arguments/Defaults |
Returns |
|---|---|---|---|
|
adds UELs to the symbol |
|
|
|
copies the symbol to the |
|
|
|
returns the number of domain violations for the symbol |
|
|
|
returns the number of duplicate records for the symbol |
|
|
|
total number of |
|
|
|
total number of |
|
|
|
total number of |
|
|
|
total number of |
|
|
|
total number of |
|
|
|
drops domain violations for the symbol |
||
|
drops duplicate records for the Symbol. |
|
|
|
Check if two Symbol objects are equal |
|
logical |
|
get a view of the records data frame that contain any domain violations |
|
|
|
get a view of records data frame that contain duplicate records. |
|
|
|
convenience method to set standard |
|
|
|
gets domain violations for the symbol |
list of |
|
|
get the maximum value across all |
|
|
|
get the maximum absolute value across all |
|
|
|
get the minimum value across all |
|
|
|
get the mean value across all |
|
|
|
get the sparsity of the symbol w.r.t the size of full cartesian product of the domain sets |
|
|
|
returns the UELs used in the Symbol |
|
|
|
returns TRUE if the symbol contains domain violations, FALSE otherwise |
|
|
|
returns TRUE if the symbol contains duplicate records, FALSE otherwise |
|
|
|
checks if the symbol is in a valid format, throw exceptions if |
|
|
|
removes UELs from the symbol |
|
|
|
renames UELs in the symbol |
|
|
|
reorders UELs in the symbol that appear in the symbol |
|
|
|
main convenience method to set standard |
|
|
|
sets UELs for the Symbol |
|
|
|
convert symbol to a dense |
column = |
|
|
find the row number in records data frame with a maximum value (return the first instance only) |
|
|
|
find the row number in records data frame with a maximum absolute value (return the first instance only) |
|
|
|
find the row number in records data frame with a minimum value (return the first instance only) |
|
|