toggle menu
alchemist
35.0.1
jvm
switch theme
search in API
alchemist-sapere-mathexp
/
it.unibo.alchemist.model.sapere.dsl.impl
/
ATreeNode
ATree
Node
abstract
class
ATreeNode
<
T
>
:
ITreeNode
<
T
>
(
source
)
Parameters
<T>
concentration type
Inheritors
ConstTreeNode
ListTreeNode
VarTreeNode
ListComparatorTreeNode
NumTreeNode
ComparatorTreeNode
OperatorTreeNode
Members
Constructors
ATree
Node
Link copied to clipboard
constructor
(
dat
:
T
,
l
:
ITreeNode
<
out
Any
>
,
r
:
ITreeNode
<
out
Any
>
)
Builds the internals of a tree node.
Properties
data
Link copied to clipboard
val
data
:
T
Functions
equals
Link copied to clipboard
open
fun
equals
(
t
:
Any
)
:
Boolean
get
Left
Child
Link copied to clipboard
open
fun
getLeftChild
(
)
:
ITreeNode
<
out
Any
>
get
Number
Of
Children
Link copied to clipboard
open
fun
getNumberOfChildren
(
)
:
Int
get
Right
Child
Link copied to clipboard
open
fun
getRightChild
(
)
:
ITreeNode
<
out
Any
>
get
Type
Link copied to clipboard
abstract
fun
getType
(
)
:
Type
get
Value
Link copied to clipboard
abstract
fun
getValue
(
mp
:
Map
<
HashString
,
ITreeNode
<
out
Any
>
>
)
:
T
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
to
Hash
String
Link copied to clipboard
open
fun
toHashString
(
)
:
HashString
Similar to toString(), but returns a HashString.
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String