TUM-Thesis/pseudocode/bach_1.typ
Marius Drechsler 1bd0bbbb87 The END IS NEAR
2024-08-19 21:02:18 +02:00

16 lines
823 B
Typst

#import "@preview/lovelace:0.3.0": *
#pseudocode-list(booktabs: true, numbered-title: [Center Point Approximation])[
+ *input*: $bold(cal(o))_"first", bold(x), t, M$
+ *lists*: optimal weights $bold(h)_"opt"$
+ $bold(cal(o)) arrow.l bold(cal(o))_"first"$
+ #line-label(<alg:bach_1_1>) *repeat* t times:
+ *perform* @alg:best_appr for all input values with $bold(cal(o))$:
+ *update* $bold(h)_"opt"$ with returned weights
+ $bold(z)_"opt" arrow.l$ all returned linear combinations
+ #line-label(<alg:bach_1_2>) *sort* $bold(z)_"opt"$ in ascending order
+ #line-label(<alg:bach_1_3>) *define* new quantizer $cal(Q)^*$ using the @ecdf based on $bold(z)_"opt"$
+ #line-label(<alg:bach_1_4>) *update* $bold(cal(o))$ with newly found quantizer step centers
+ *return* $bold(h)_"opt"$
]