Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java44 protected final Map<E, N> inEdgeMap; field in AbstractDirectedNetworkConnections
52 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in AbstractDirectedNetworkConnections() argument
53 this.inEdgeMap = checkNotNull(inEdgeMap); 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()
90 return Collections.unmodifiableSet(inEdgeMap.keySet());
110 N previousNode = inEdgeMap.remove(edge);
[all …]
DDirectedNetworkConnections.java38 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in DirectedNetworkConnections() argument
39 super(inEdgeMap, outEdgeMap, selfLoopCount); in DirectedNetworkConnections()
55 return Collections.unmodifiableSet(((BiMap<E, N>) inEdgeMap).values()); in predecessors()
DImmutableNetwork.java102 Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network)); in connectionsOf() local
106 ? DirectedMultiNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount) in connectionsOf()
107 : DirectedNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount); in connectionsOf()
DDirectedMultiNetworkConnections.java72 predecessors = HashMultiset.create(inEdgeMap.values()); in predecessorsMultiset()
/external/guava/android/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java44 protected final Map<E, N> inEdgeMap; field in AbstractDirectedNetworkConnections
52 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in AbstractDirectedNetworkConnections() argument
53 this.inEdgeMap = checkNotNull(inEdgeMap); 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()
90 return Collections.unmodifiableSet(inEdgeMap.keySet());
110 N previousNode = inEdgeMap.remove(edge);
[all …]
DDirectedNetworkConnections.java38 Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) { in DirectedNetworkConnections() argument
39 super(inEdgeMap, outEdgeMap, selfLoopCount); in DirectedNetworkConnections()
55 return Collections.unmodifiableSet(((BiMap<E, N>) inEdgeMap).values()); in predecessors()
DImmutableNetwork.java102 Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network)); in connectionsOf() local
106 ? DirectedMultiNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount) in connectionsOf()
107 : DirectedNetworkConnections.ofImmutable(inEdgeMap, outEdgeMap, selfLoopCount); in connectionsOf()
DDirectedMultiNetworkConnections.java72 predecessors = HashMultiset.create(inEdgeMap.values()); in predecessorsMultiset()