Class: ChangeParameters

ChangeParameters(totalChanges, local, insertionWeight, moveWeight, updateWeight, deletionWeight)

Parameters for the random changes applied in the tree generator.

Constructor

new ChangeParameters(totalChanges, local, insertionWeight, moveWeight, updateWeight, deletionWeight)

Construct a new ChangeParameters instance.
Parameters:
Name Type Default Description
totalChanges Number 0 The total amount of changes to apply
local Boolean false Whether to apply changes locally, i.e. within a constrained region of the process tree.
insertionWeight Number 1 The weight of insertions. A higher number will lead to more insertions.
moveWeight Number 1 The weight of moves. A higher number will lead to more moves.
updateWeight Number 1 The weight of updates. A higher number will lead to more updates.
deletionWeight Number 1 The weight of deletions. A higher number will lead to more deletions.
Source:

Classes

ChangeParameters

Members

(constant) deletionWeight :Number

The weight of deletions. A higher number will lead to more deletions.
Type:
  • Number
Source:

(constant) insertionWeight :Number

The weight of insertions. A higher number will lead to more insertions.
Type:
  • Number
Source:

(constant) local :Boolean

Whether to apply changes locally, i.e. within a constrained region of the process tree.
Type:
  • Boolean
Source:

(constant) moveWeight :Number

The weight of moves. A higher number will lead to more moves.
Type:
  • Number
Source:

(constant) totalChanges :Number

The total amount of changes to apply
Type:
  • Number
Source:

(constant) updateWeight :Number

The weight of updates. A higher number will lead to more updates.
Type:
  • Number
Source:

Methods

toString() → {String}

Source:
Returns:
A string representation of the change parameters.
Type
String