TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/arithmetic
Backend
Interface Backend
An exact synchronous backend that charges the caller's budget.
interface
Backend
{
id
:
BackendId
;
accepts
(
formula
:
Formula
,
budget
:
Budget
)
:
boolean
;
solve
(
formula
:
Formula
,
budget
:
Budget
)
:
Solution
;
}
Index
Properties
id
Methods
accepts
solve
Properties
Readonly
id
id
:
BackendId
Methods
accepts
accepts
(
formula
:
Formula
,
budget
:
Budget
)
:
boolean
Parameters
formula
:
Formula
budget
:
Budget
Returns
boolean
solve
solve
(
formula
:
Formula
,
budget
:
Budget
)
:
Solution
Parameters
formula
:
Formula
budget
:
Budget
Returns
Solution
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
id
Methods
accepts
solve
TOC Toolkit API - v0.1.0
Loading...
An exact synchronous backend that charges the caller's budget.