ArrayRow.ArrayRowVariables


interface ArrayRow.ArrayRowVariables

Known direct subclasses
ArrayLinkedVariables

Store a set of variables and their values in an array-based linked list.

SolverVariableValues

Store a set of variables and their values in an array-based linked list coupled with a custom hashmap.


Summary

Public functions

Unit
add(v: SolverVariable!, value: Float, removeFromDefinition: Boolean)
Unit
Boolean
Unit
Unit
Float
get(variable: SolverVariable!)
Int
SolverVariable!
getVariable(index: Int)
Float
Int
indexOf(variable: SolverVariable!)
Unit
Unit
put(variable: SolverVariable!, value: Float)
Float
remove(v: SolverVariable!, removeFromDefinition: Boolean)
Int
Float
use(definition: ArrayRow!, removeFromDefinition: Boolean)

Public functions

add

Added in 1.1.0-alpha13
fun add(v: SolverVariable!, value: Float, removeFromDefinition: Boolean): Unit

clear

Added in 1.1.0-alpha13
fun clear(): Unit

contains

Added in 1.1.0-alpha13
fun contains(variable: SolverVariable!): Boolean

display

Added in 1.1.0-alpha13
fun display(): Unit

divideByAmount

Added in 1.1.0-alpha13
fun divideByAmount(amount: Float): Unit

get

Added in 1.1.0-alpha13
fun get(variable: SolverVariable!): Float

getCurrentSize

Added in 1.1.0-alpha13
fun getCurrentSize(): Int

getVariable

Added in 1.1.0-alpha13
fun getVariable(index: Int): SolverVariable!

getVariableValue

Added in 1.1.0-alpha13
fun getVariableValue(index: Int): Float

indexOf

Added in 1.1.0-alpha13
fun indexOf(variable: SolverVariable!): Int

invert

Added in 1.1.0-alpha13
fun invert(): Unit

put

Added in 1.1.0-alpha13
fun put(variable: SolverVariable!, value: Float): Unit

remove

Added in 1.1.0-alpha13
fun remove(v: SolverVariable!, removeFromDefinition: Boolean): Float

sizeInBytes

Added in 1.1.0-alpha13
fun sizeInBytes(): Int

use

Added in 1.1.0-alpha13
fun use(definition: ArrayRow!, removeFromDefinition: Boolean): Float