Liking cljdoc? Tell your friends :D

brew-bot.generators

Beer recipe generators

Beer recipe generators
raw docstring

format-recipeclj/s

(format-recipe gallons grain-bill extract-bill hop-bill yeast)

Given maps of ingredient : weight pairs, format a recipe and derive other important information

Given maps of ingredient : weight pairs, format a recipe and derive other important information
sourceraw docstring

generate-beer-recipeclj/s

(generate-beer-recipe strategy
                      gallons
                      grain-limits
                      extract-limits
                      hop-limits
                      yeast-limits)
source

generate-ingredients-and-quantitiesclj/s

(generate-ingredients-and-quantities ingredient-set weight-cutoff)
(generate-ingredients-and-quantities ingredient-set
                                     weight-cutoff
                                     ingredient-limit)
source

generate-limited-random-recipeclj/s

(generate-limited-random-recipe gallons
                                grain-limits
                                extract-limits
                                hop-limits
                                _yeast-limits)

Generate a purely random beer recipe with grains, extracts, and hops close to their respective weight limits, with a constricted number of ingredients

Generate a purely random beer recipe with grains, extracts,
and hops close to their respective weight limits, with a constricted number of ingredients
sourceraw docstring

generate-random-recipeclj/s

(generate-random-recipe gallons
                        grain-limits
                        extract-limits
                        hop-limits
                        _yeast-limits)

Generate a purely random beer recipe with grains, extracts, and hops close to their respective limits

Generate a purely random beer recipe with grains, extracts, and hops close to their respective limits
sourceraw docstring

generate-weighted-guided-recipeclj/s

(generate-weighted-guided-recipe gallons
                                 grain-limits
                                 extract-limits
                                 hop-limits
                                 yeast-limits)
source

generate-weighted-random-recipeclj/s

(generate-weighted-random-recipe gallons
                                 grain-limits
                                 extract-limits
                                 hop-limits
                                 yeast-limits)
source

update-selection-probabilityclj/s

(update-selection-probability probabilities ingredient-map include-all?)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close