ConnectionExtractor constructor
- Iterable<
BridgeModule> modules, { - bool includeInterfaceConnections = true,
Creates a new ConnectionExtractor for the given modules which will
then identify connections between them.
Implementation
ConnectionExtractor(Iterable<BridgeModule> modules,
{this.includeInterfaceConnections = true})
: modules = Set.unmodifiable(modules) {
// algorithm:
// - first, find all full interface-to-interface connections
// - then, the remainder can be ad-hoc
if (includeInterfaceConnections) {
_findInterfaceConnections();
}
_findAdHocConnections();
}