Documentation
¶
Overview ¶
Package oracle is a deliberately simple reference walker, used only by tests to check the engine's counts and totals on random graphs. It shares no code with the engine.
Package oracle is a deliberately naive reference walker, used only by tests to check the engine's counts and totals on random graphs. It shares no code with the engine: no pools, no flattening, no workers. It draws one value at a time from each distribution with its own generator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Nodes []string
Sources []string
Categories []string
Events []uint64 // [source]
Reach [][]uint64 // [source][node]
Entries [][]float64 // [node][period]
Total []float64 // [period]
ByCategory [][]float64 // [category][period]
Beyond float64 // value booked at or after the horizon
}
Result holds per-period counts and totals.
Click to show internal directories.
Click to hide internal directories.