Skip to main content

with_ratios

Method
This is a method of the BudgetAllocation class in the context module.
Create with custom ratios

Signature

def with_ratios(total: usize, system_pct: f64, history_pct: f64, tools_pct: f64) -> Self

Parameters

total
usize
required
No description available.
system_pct
f64
required
No description available.
history_pct
f64
required
No description available.
tools_pct
f64
required
No description available.

Returns

Returns
Self
The result of the operation.