Home Reference Source
public class | source

DecompositionRuleSet

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

Add a decomposition rule to the rule set.

public

Public Constructors

public constructor(rules: Array<DecompositionRule>, modules:: Array) source

Params:

NameTypeAttributeDescription
rules Array<DecompositionRule>

: Initial decomposition rules.

modules: Array

A list of things with an "all_defined_decomposition_rules" property containing decomposition rules to add to the rule set.

Public Members

public decompositions: {} source

Public Methods

public addDecompositionRule(rule: DecompositionRule) source

Add a decomposition rule to the rule set.

Params:

NameTypeAttributeDescription
rule DecompositionRule

The decomposition rule to add.

public addDecompositionRules(rules: *) source

Params:

NameTypeAttributeDescription
rules *