Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputGraph ¶
type InputGraph struct { Nodes []*Node AdjacencyMap map[string][]string DeviceMap map[string]*Node }
func BuildGraph ¶
func BuildGraph(devs []base.Device, tag string) (InputGraph, error)
type Node ¶
func CheckReachability ¶
func CheckReachability(deviceA, deviceB string, ig InputGraph) (bool, []Node, error)
where deviceA is the sink and deviceB is the SourceDevice
type ReachableRoomConfig ¶
type ReachableRoomConfig struct { base.Room InputReachability map[string][]string `json:"input_reachability"` }
func GetVideoDeviceReachability ¶
func GetVideoDeviceReachability(room base.Room) (ReachableRoomConfig, *nerr.E)
There is a more effient way to do this as part of the initial traversal. TODO: Make this more efficient.
Click to show internal directories.
Click to hide internal directories.