Sets#
Constructor#
Initialize a new Set instance.
Argument |
Type |
Description |
Required |
Default |
|---|---|---|---|---|
|
|
A reference to the Container object that the symbol is being added to |
Yes |
|
|
|
Name of symbol |
Yes |
|
|
|
String, List of domains given either as a string (“*”for universe set ) or as a reference to a Set object |
No |
“*” |
|
|
Indicates if set is a singleton set ( |
No |
FALSE |
|
string vector, data frame |
Symbol records |
No |
NULL |
|
|
Flag or a vector of flags that forces set elements to be recursively included in corresponding parent sets (i.e., implicit set definition ) |
No |
FALSE |
|
|
Description of symbol |
No |
“” |
Fields#
Field |
Description |
Type |
|---|---|---|
|
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 set elements to be recursively included in corresponding parent sets (i.e., implicit set definition ) |
|
|
column headings for the |
|
|
string version of domain names |
|
|
|
|
|
|
|
|
name of symbol |
|
|
number of symbol records (i.e., returns |
|
|
the main symbol records |
|
|
reference to the Container that the symbol belongs to |
|
|
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 |
|
|
|
get a view of records data frame that contain any domain violations |
|
|
|
get a view of records data frame that contain duplicate records. `` keep = ‘first’ `` (finds all duplicates while keeping the first instance as unique), |
|
|
|
drops domain violations for the symbol |
||
|
drops duplicate records for the Symbol |
|
|
|
Check if two Symbol objects are equal |
|
logical |
|
convenience method to set standard |
|
|
|
gets domain violations for the symbol |
list of |
|
|
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 |
|
|