TreeAppendObject

data class TreeAppendObject(parentNodeValue: BinaryTreeNodeValue, childNodeValue: BinaryTreeNodeValue, treeValue: BinaryTreeValue, left: Boolean, runtime: Double, render: Boolean) : ManimInstr

Tree append object

Constructors

TreeAppendObject
Link copied to clipboard
fun TreeAppendObject(parentNodeValue: BinaryTreeNodeValue, childNodeValue: BinaryTreeNodeValue, treeValue: BinaryTreeValue, left: Boolean, runtime: Double, render: Boolean)
Create empty Tree append object

Functions

component1
Link copied to clipboard
operator fun component1(): BinaryTreeNodeValue
component2
Link copied to clipboard
operator fun component2(): BinaryTreeNodeValue
component3
Link copied to clipboard
operator fun component3(): BinaryTreeValue
component4
Link copied to clipboard
operator fun component4(): Boolean
component5
Link copied to clipboard
operator fun component5(): Double
component6
Link copied to clipboard
operator fun component6(): Boolean
copy
Link copied to clipboard
fun copy(parentNodeValue: BinaryTreeNodeValue, childNodeValue: BinaryTreeNodeValue, treeValue: BinaryTreeValue, left: Boolean, runtime: Double, render: Boolean): TreeAppendObject
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getInstructionString
Link copied to clipboard
fun getInstructionString(instruction: String, spread: Boolean): String
Get instruction string to be played using Manim
getRuntimeString
Link copied to clipboard
fun getRuntimeString(): String
Get runtime string using runtime provided
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toPython
Link copied to clipboard
open override fun toPython(): List<String>
Function for converting linear representation instruction to its corresponding Python instructions
toString
Link copied to clipboard
open override fun toString(): String

Properties

childNodeValue
Link copied to clipboard
val childNodeValue: BinaryTreeNodeValue
left
Link copied to clipboard
val left: Boolean
parentNodeValue
Link copied to clipboard
val parentNodeValue: BinaryTreeNodeValue
render
Link copied to clipboard
open override val render: Boolean
runtime
Link copied to clipboard
open override val runtime: Double
treeValue
Link copied to clipboard
val treeValue: BinaryTreeValue