bcds.phison.sim
Class LinkFailureEffect
java.lang.Object
bcds.phison.sim.LinkFailureEffect
public class LinkFailureEffect
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkFailureEffect
public LinkFailureEffect()
determineEffect
public static <V,E> LinkFailureEffect.Effect determineEffect(ConnectionInfo<V,E> conn,
E failed_e,
TED<V,E> ted)
- Parameters:
failed_e
- does not appear in any of @param conn's
path (working or backup)
XXX This code uses GraphUtil.splitProtAndUnprotParts(). Therefore,
I assume that at most one "segment protection" is
allowed. I'm not sure... I don't remember...
jsegovia@eia.udg.edu 2010-07-22
- Returns:
- The effect that the failure of link @param failed_e
has on connection @param conn.
It is quite possible that much failure does not any any effect if
determineEffectOfMultipleFailure
public static <V,E> SimplePair<LinkFailureEffect.Effect,E> determineEffectOfMultipleFailure(ConnectionInfo<V,E> conn,
java.util.Collection<E> failed_e,
TED<V,E> ted)