class SolverVariableValues : ArrayRow.ArrayRowVariables


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
String!
Float
use(definition: ArrayRow!, removeFromDefinition: Boolean)

Protected properties

Cache!

Public functions

add

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

clear

Added in 1.1.0-rc01
fun clear(): Unit

contains

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

display

Added in 1.1.0-rc01
fun display(): Unit

divideByAmount

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

get

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

getCurrentSize

Added in 1.1.0-rc01
fun getCurrentSize(): Int

getVariable

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

getVariableValue

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

indexOf

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

invert

Added in 1.1.0-rc01
fun invert(): Unit

put

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

remove

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

sizeInBytes

Added in 1.1.0-rc01
fun sizeInBytes(): Int

toString

fun toString(): String!

use

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

Protected properties

mCache

Added in 1.1.0-rc01
protected val mCacheCache!