Home
last modified time | relevance | path

Searched refs:outEdgeMap (Results 1 – 8 of 8) sorted by relevance

/external/guava/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java47 protected final Map<E, N> outEdgeMap; field in AbstractDirectedNetworkConnections
52 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in AbstractDirectedNetworkConnections() argument
54 this.outEdgeMap = checkNotNull(outEdgeMap); in AbstractDirectedNetworkConnections()
56 checkState(selfLoopCount <= inEdgeMap.size() && selfLoopCount <= outEdgeMap.size()); in AbstractDirectedNetworkConnections()
71 ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet()) in incidentEdges()
72 : Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet()); in incidentEdges()
78 return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount); in incidentEdges()
83 return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj); in incidentEdges()
95 return Collections.unmodifiableSet(outEdgeMap.keySet());
102 return checkNotNull(outEdgeMap.get(edge));
[all …]
DDirectedNetworkConnections.java38 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in DirectedNetworkConnections() argument
39 super(inEdgeMap, outEdgeMap, selfLoopCount); in DirectedNetworkConnections()
60 return Collections.unmodifiableSet(((BiMap<E, N>) outEdgeMap).values()); in successors()
65 return new EdgesConnecting<E>(((BiMap<E, N>) outEdgeMap).inverse(), node); in edgesConnecting()
DImmutableNetwork.java103 Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network)); in connectionsOf() local
106 ? DirectedMultiNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount) in connectionsOf()
107 : DirectedNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount); in connectionsOf()
DDirectedMultiNetworkConnections.java88 successors = HashMultiset.create(outEdgeMap.values()); in successorsMultiset()
96 return new MultiEdgesConnecting<E>(outEdgeMap, node) { in edgesConnecting()
/external/guava/android/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java47 protected final Map<E, N> outEdgeMap; field in AbstractDirectedNetworkConnections
52 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in AbstractDirectedNetworkConnections() argument
54 this.outEdgeMap = checkNotNull(outEdgeMap); in AbstractDirectedNetworkConnections()
56 checkState(selfLoopCount <= inEdgeMap.size() && selfLoopCount <= outEdgeMap.size()); in AbstractDirectedNetworkConnections()
71 ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet()) in incidentEdges()
72 : Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet()); in incidentEdges()
78 return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount); in incidentEdges()
83 return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj); in incidentEdges()
95 return Collections.unmodifiableSet(outEdgeMap.keySet());
102 return checkNotNull(outEdgeMap.get(edge));
[all …]
DDirectedNetworkConnections.java38 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in DirectedNetworkConnections() argument
39 super(inEdgeMap, outEdgeMap, selfLoopCount); in DirectedNetworkConnections()
60 return Collections.unmodifiableSet(((BiMap<E, N>) outEdgeMap).values()); in successors()
65 return new EdgesConnecting<E>(((BiMap<E, N>) outEdgeMap).inverse(), node); in edgesConnecting()
DImmutableNetwork.java103 Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network)); in connectionsOf() local
106 ? DirectedMultiNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount) in connectionsOf()
107 : DirectedNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount); in connectionsOf()
DDirectedMultiNetworkConnections.java88 successors = HashMultiset.create(outEdgeMap.values()); in successorsMultiset()
96 return new MultiEdgesConnecting<E>(outEdgeMap, node) { in edgesConnecting()