Handbook
Glossary
init-costs ( -- )
Vocabulary
compiler
.
cfg
.
representations
.
selection
Word description
Initialize cost as 0 for each possibility.
Definition
USING:
assocs
namespaces
;
IN:
compiler.cfg.representations.selection
:
init-costs
( -- )
possibilities
get
[
[
0
]
H{
}
map>assoc
]
assoc-map
costs
set
;