PermutationReference

PermutationReference

Modifies the OldReferenceGeneratorDeprecated to not draw a random reference but use sampling without replacement (setting boundsCheckEnabledOverride to true might violate that contraint). The permutation ensures that the result still looks random.

Attributes
Name Description Required Min Max Allowed Values
seed Random number generator seed of this Element. Overrides default seeding behavior. no 0 1
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass no 0 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
Nodes
Name Description Required Min Max Allowed Values
useRelativeTimeIDs Content type: Boolean
Use timeIDs relative to the number of updates of the parent table for reference access. This is useful in cases when a referenced table uses a different number of updates than the referencing table.
no 0 1
  • true
  • false
  • 0
  • 1
reference reference yes 1 1
sameChoiceAs Content type: Empty
Requires a <field> and a <generatorByID> attribute (in same table) to pick the row number from. If specified this OldReferenceGeneratorDeprecated does not choose a random row, but it uses the same row as the referenced generator.
no 0 1
distribution Distribution to be used by a generator when calculating a value no 0 1
boundsCheckEnabledOverride Content type: Boolean
Disables check if too much unique samples are requested from this permuation based reference generator. If the permuation 'wraps' an error is thrown.
no 0 1
  • true
  • false
  • 0
  • 1
includeDeletedIDs Content type: Boolean
When generating references to an update table, also reference already deleted IDs within that table.
no 0 1
  • true
  • false
  • 0
  • 1
timeIDOffset Content type: Long
Default: chose reference from SAME timeID. This may skew time dependencies as it might choose a reference to an ID yet to be created in this generation. To prevent this, use a timeIDOffset of -1 to choose a reference from a previous generation in the referenced table. Default offset is 0.
no 0 1
2.6_#1486_b758 | 2016-05-24