Answer prose round 1: the Data paragraph names the set first, the choice comment says what shared counts, and the plan's new items read once
This commit is contained in:
@@ -29,7 +29,7 @@ func (*folder) isNode() {}
|
||||
|
||||
// choice draws one of its items. cum holds cumulative weights for a weighted
|
||||
// draw; when nil the choice is uniform and selection is O(1). shared is the set of
|
||||
// relative dot paths every item can address, into a repeat too.
|
||||
// relative dot paths every item carries, counting paths inside a repeated template.
|
||||
type choice struct {
|
||||
items []node
|
||||
cum []float64
|
||||
|
||||
Reference in New Issue
Block a user