Zafu/Benchmark/Game/BinaryTreessource code:
public dependencies: Bosatsu/Prog
BinaryTree, BinaryTreesReport, DepthCheckbenchmark_report, build_tree, item_check, main, min_depth, render_report, report_linesBinaryTreetype BinaryTree
BinaryTree(left: Option[BinaryTree], right: Option[BinaryTree])BinaryTreesReporttype BinaryTreesReport
DepthChecktype DepthCheck
DepthCheck(depth: Int, iterations: Int, check: Int)benchmark_reportreferences: BinaryTreesReport, Int
def benchmark_report(n: Int) -> BinaryTreesReport
build_treereferences: BinaryTree,
Int
def build_tree(depth: Int) -> BinaryTree
item_checkreferences: BinaryTree,
Int
def item_check(tree: BinaryTree) -> Int
mainreferences: Bosatsu/Prog::Main
main: Bosatsu/Prog::Main
min_depthreferences: Int
min_depth: Int
render_reportdef render_report(n: Int) -> String
report_linesreferences: BinaryTreesReport, List, String
def report_lines(report: BinaryTreesReport) -> List[String]