Preparing search index...
The search index is not available
Octra libraries - v2.0.0
Octra libraries
@octra/json-sets
DecisionTreeExpression
ClassDecisionTreeExpression<T, U>
Type Parameters
T
U
Hierarchy (
view full
)
DecisionTreeNode
<
T
,
U
>
DecisionTreeExpression
Index
Constructors
constructor
Properties
_errors
_id
_parent?
_possible
Selections
blueprint
statement
valid
Item
Accessors
description
id
name
path
possible
Selections
Methods
clone
output
Solutions
pow
Array
validate
json2tree
Constructors
constructor
new
Decision
Tree
Expression
<
T
,
U
>
(
blueprint
,
parent
,
statement
)
:
DecisionTreeExpression
<
T
,
U
>
Type Parameters
T
U
Parameters
blueprint
:
JSONSetBlueprint
<
T
,
U
>
parent
:
undefined
|
DecisionTreeCombination
<
T
,
U
>
statement
:
JSONSetStatement
<
U
>
Returns
DecisionTreeExpression
<
T
,
U
>
Properties
_errors
_errors
:
JSONSetValidationError
<
T
>
[]
= []
Protected
Readonly
_id
_id
:
number
Protected
Optional
Readonly
_parent
_parent
?:
DecisionTreeCombination
<
T
,
U
>
Protected
_possible
Selections
_possible
Selections
:
PossibleSolution
<
T
,
U
>
[]
[]
= []
Protected
Readonly
blueprint
blueprint
:
JSONSetBlueprint
<
T
,
U
>
statement
statement
:
JSONSetStatement
<
U
>
valid
Item
valid
Item
:
boolean
= false
Accessors
description
get
description
(
)
:
undefined
|
string
Returns
undefined
|
string
id
get
id
(
)
:
number
Returns
number
name
get
name
(
)
:
undefined
|
string
Returns
undefined
|
string
path
get
path
(
)
:
string
Returns
string
possible
Selections
get
possibleSelections
(
)
:
PossibleSolution
<
T
,
U
>
[]
[]
Returns
PossibleSolution
<
T
,
U
>
[]
[]
Methods
clone
clone
(
)
:
DecisionTreeNode
<
T
,
U
>
Returns
DecisionTreeNode
<
T
,
U
>
output
Solutions
output
Solutions
(
)
:
void
Returns
void
Protected
pow
Array
pow
Array
<
T
>
(
array
,
start
,
end
)
:
T
[]
[]
Type Parameters
T
Parameters
array
:
T
[]
start
:
number
end
:
number
Returns
T
[]
[]
validate
validate
(
items
)
:
void
Parameters
items
:
T
[]
Returns
void
Static
json2tree
json2tree
<
T
,
U
>
(
json
,
blueprint
)
:
DecisionTreeCombination
<
T
,
U
>
Type Parameters
T
U
Parameters
json
:
JSONSet
<
U
>
blueprint
:
JSONSetBlueprint
<
T
,
U
>
Returns
DecisionTreeCombination
<
T
,
U
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_errors
_id
_parent
_possible
Selections
blueprint
statement
valid
Item
Accessors
description
id
name
path
possible
Selections
Methods
clone
output
Solutions
pow
Array
validate
json2tree
Octra libraries - v2.0.0
Loading...