Constructor
new GeneratorParameters(size, maxDepth, maxDegree, maxVars)
Parameters:
Name | Type | Description |
---|---|---|
size |
Number | The desired size of the process tree. |
maxDepth |
Number | The maximum depth of the process tree |
maxDegree |
Number | The maximum width of the process tree. Effectively limits the number of children a node can have. |
maxVars |
Number | The maximum amount of read and written vars that appear in code snippets. Also limits the number of call arguments. |
- Source:
Classes
Members
(constant) maxDegree :Number
The maximum width of the process tree. Effectively limits the number of
children a node can have.
Type:
- Number
- Source:
(constant) maxDepth :Number
The maximum depth of the process tree
Type:
- Number
- Source:
(constant) maxVars :Number
The maximum amount of read and written vars that appear in code snippets.
Also limits the number of call arguments.
Type:
- Number
- Source:
size :Number
The desired size of the process tree.
Type:
- Number
- Source:
Methods
toString() → {String}
- Source:
Returns:
A string representation of the generator parameters.
- Type
- String