@Test public void testGetOutputLinkOfNode() { assertEquals(t123.getOutputLinkOfNode(n1) , Collections.singleton(link12)); assertEquals(t123.getOutputLinkOfNode(n2) , Collections.singleton(link23)); assertEquals(t123.getOutputLinkOfNode(n3) , Collections.emptySet()); assertEquals(tStar.getOutputLinkOfNode(n1) , star); assertEquals(tStar.getOutputLinkOfNode(n2) , Collections.emptySet()); assertEquals(tStar.getOutputLinkOfNode(n3) , Collections.emptySet()); }
public Set<Link> getOutputLinkOfNode (Node n) { final Set<Link> res = this.cache_egressLinksOfNode.get(n); return (res == null)? null : Collections.unmodifiableSet(res); }
MulticastTree extends NetworkElement { public Set<Link> getOutputLinkOfNode (Node n) { final Set<Link> res = this.cache_egressLinksOfNode.get(n); return (res == null)? null : Collections.unmodifiableSet(res); } }
MulticastTree extends NetworkElement { public Set<Link> getOutputLinkOfNode (Node n) { final Set<Link> res = this.cache_egressLinksOfNode.get(n); return (res == null)? null : Collections.unmodifiableSet(res); } MulticastTree(NetPlan netPlan , long id , int index,  MulticastDemand demand , Set<Link> links , AttributeMap attributes); }
MulticastTree extends NetworkElement { public Set<Link> getOutputLinkOfNode (Node n) { final Set<Link> res = this.cache_egressLinksOfNode.get(n); return (res == null)? null : Collections.unmodifiableSet(res); } MulticastTree(NetPlan netPlan , long id , int index,  MulticastDemand demand , Set<Link> links , AttributeMap attributes); Set<Link> getInitialLinkSet(); void revertToInitialSetOfLinks(); boolean isUpTheInitialLinkSet(); NetworkLayer getLayer(); Set<SharedRiskGroup> getSRGs(); MulticastDemand getMulticastDemand(); Node getIngressNode(); Set<Node> getEgressNodesReached(); boolean isReachedEgressNode(Node n); boolean isReachinAllDemandEgressNodes(); List<Link> getSeqLinksToEgressNode(Node egressNode); void setLinks(Set<Link> newLinkSet); Set<Link> getLinkSet(); boolean isDown(); boolean isTraversingZeroCapLinks(); Set<Node> getNodeSet(); Link getIngressLinkOfNode(Node n); Set<Link> getOutputLinkOfNode(Node n); double getTreeTotalLengthInKm(); double getTreeMaximumPathLengthInKm(); double getTreeAveragePathLengthInKm(); double getTreeMaximumPropagationDelayInMs(); double getTreeAveragePropagationDelayInMs(); int getTreeMaximumPathLengthInHops(); double getTreeAveragePathLengthInHops(); int getTreeNumberOfLinks(); double getCarriedTraffic(); double getOccupiedLinkCapacity(); double getCarriedTrafficInNoFailureState(); double getOccupiedLinkCapacityInNoFailureState(); void setCarriedTraffic(double newCarriedTraffic , double newOccupiedLinkCapacity); void remove(); @Override String toString(); }
MulticastTree extends NetworkElement { public Set<Link> getOutputLinkOfNode (Node n) { final Set<Link> res = this.cache_egressLinksOfNode.get(n); return (res == null)? null : Collections.unmodifiableSet(res); } MulticastTree(NetPlan netPlan , long id , int index,  MulticastDemand demand , Set<Link> links , AttributeMap attributes); Set<Link> getInitialLinkSet(); void revertToInitialSetOfLinks(); boolean isUpTheInitialLinkSet(); NetworkLayer getLayer(); Set<SharedRiskGroup> getSRGs(); MulticastDemand getMulticastDemand(); Node getIngressNode(); Set<Node> getEgressNodesReached(); boolean isReachedEgressNode(Node n); boolean isReachinAllDemandEgressNodes(); List<Link> getSeqLinksToEgressNode(Node egressNode); void setLinks(Set<Link> newLinkSet); Set<Link> getLinkSet(); boolean isDown(); boolean isTraversingZeroCapLinks(); Set<Node> getNodeSet(); Link getIngressLinkOfNode(Node n); Set<Link> getOutputLinkOfNode(Node n); double getTreeTotalLengthInKm(); double getTreeMaximumPathLengthInKm(); double getTreeAveragePathLengthInKm(); double getTreeMaximumPropagationDelayInMs(); double getTreeAveragePropagationDelayInMs(); int getTreeMaximumPathLengthInHops(); double getTreeAveragePathLengthInHops(); int getTreeNumberOfLinks(); double getCarriedTraffic(); double getOccupiedLinkCapacity(); double getCarriedTrafficInNoFailureState(); double getOccupiedLinkCapacityInNoFailureState(); void setCarriedTraffic(double newCarriedTraffic , double newOccupiedLinkCapacity); void remove(); @Override String toString();  }