KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("kadabra.adapt.Configs");

(.lara)
import kadabra.adapt.Configs;

Configuration

Constructor

Configuration

new Configuration(knobs, configCode, type)

Parameters

knobs: any
configCode: any
type: any

Instance Members

declare

declare(name)

Parameters

name: any

declareProvider

declareProvider(name)

Parameters

name: any

get

get()

provider

provider()

toString

toString()

PrimitiveRange

Constructor

PrimitiveRange

new PrimitiveRange(type, lowerLimit, upperLimit, step, value)

Ranged knob is used in the configurations, use this if you intend to create knobs containing multiple parameters (one RangedKnob per knob) and combine them in a configuration

Parameters

type: any
lowerLimit: any
upperLimit: any
step: any
value: any

Instance Members

declare

declare(name)

Parameters

name: any

initValue

initValue(value)

Parameters

value: any

instance

instance()

setClimbers

setClimbers(descend, ascend)

Parameters

descend: any
ascend: any

toConfig

toConfig()

Global Functions

Configs

Configs()

Class defining the structure of an autotuner


FloatRange

FloatRange(lowerLimit, upperLimit, step, value)

Parameters

lowerLimit: any
upperLimit: any
step: any
value: any

IntegerRange

IntegerRange(lowerLimit, upperLimit, step, value)

Parameters

lowerLimit: any
upperLimit: any
step: any
value: any

list2Config

list2Config(knobs, constructor, values, acceptsSingle, type)

Parameters

knobs: any
constructor: any
values: any
acceptsSingle: any
type: any

rangedConfig

rangedConfig(knobs, ranges, type, acceptsSingle)

Parameters

knobs: any
ranges: any
type: any
acceptsSingle: any

validateKnob

validateKnob(knob)

Parameters

knob: any