Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoubleMap ¶
type DoubleMap[K any, V any] interface { DepMap[K, V] // GetDependencies recursively searches for all values that the key depends on. GetDependencies(key K) []K // GetDependents recursively searches for all values that depend on a key. GetDependents(key K) []K RangeDependencies(key K, r MutableRangeFunc[K, V]) RangeDependents(key K, r MutableRangeFunc[K, V]) RemoveDependencies(key K) }
func NewDoubleMap ¶
NewDoubleMap creates a DoubleMap comprised of two maps rather than a directed graph. This DoubleMap provides constant time lookups but more limited searching capabilities.
Click to show internal directories.
Click to hide internal directories.