Uses of Class
bcds.tools.SimplePair

Packages that use SimplePair
bcds.phison This package defines essential graph entities, such as nodes, links and paths. 
bcds.phison.gm Classes in this package extract measurable properties of a graph, its nodes or links. 
bcds.phison.io Classes in this package deal with reading or writing files (topologies in different formats, demand type defintions, zone maps, etc.). 
bcds.phison.sim This package comprises the simulator and several processing modules. 
bcds.tools   
 

Uses of SimplePair in bcds.phison
 

Methods in bcds.phison that return SimplePair
 SimplePair<V,V> NodePairsTrig.next()
           
static
<V,E> SimplePair<Path<V,E>,Path<V,E>>
GraphUtil.splitProtAndUnprotParts(Path<V,E> pri, Path<V,E> sec)
          Given two paths pri and sec, of which the first is the primary path and the second the backup path, returns pri split into two segments, the unprotected and protected parts.
 

Methods in bcds.phison that return types with arguments of type SimplePair
static
<V,E> java.util.Map<SimplePair<V,V>,java.lang.Double>
GraphUtil.booleanRandomTrafficMatrix(SimGraph<V,E> g, java.util.Random rnd)
          Generates a random traffic matrix consisting of 0s and 1s.
 java.util.Iterator<SimplePair<V,V>> NodePairsTrig.iterator()
           
 

Uses of SimplePair in bcds.phison.gm
 

Method parameters in bcds.phison.gm with type arguments of type SimplePair
 void BetweennessCentrality.setTrafficMatrix(java.util.Map<SimplePair<V,V>,java.lang.Double> trf)
           
 

Uses of SimplePair in bcds.phison.io
 

Methods in bcds.phison.io that return SimplePair
 SimplePair<java.lang.Integer,java.lang.Integer> IEPReader.getNodes()
          Returns the nodes that has just been read with IEPReader.next().
 

Method parameters in bcds.phison.io with type arguments of type SimplePair
 void IEPReader.getPairs(java.util.Set<SimplePair<V,V>> ps)
          The set of ingres-egress pairs is returned in the parameter ps, which must be non-null.
<VT> GraphReader<V,E>
GraphReader.markNodePairAttr(java.lang.String name, java.util.Map<SimplePair<V,V>,VT> h, java.lang.Class<VT> value_class)
          Register interest in a node-pair attribute, for example "traffic".
 void GraphWriter.setTrafficMatrix(java.util.Map<SimplePair<V,V>,java.lang.Double> trf)
          Saves a reference to the traffic matrix that will be written out by GraphWriter.writeAll().
 void GraphWriter.write(java.lang.String netname, java.lang.String heading_comment, java.util.Map<E,java.lang.Integer> capacity_map, java.util.Map<E,? extends java.lang.Number> cost_map, java.util.Map<SimplePair<V,V>,java.lang.Double> trf)
          Calls the appropriate setters (setCapacityMap(), setCostMap(), etc.), and finally invokes writeAll().
 

Uses of SimplePair in bcds.phison.sim
 

Fields in bcds.phison.sim with type parameters of type SimplePair
 java.util.Map<SimplePair<V,V>,java.lang.Double> SimGlobals.trf_mat
           
 

Methods in bcds.phison.sim that return SimplePair
static
<V,E> SimplePair<LinkFailureEffect.Effect,E>
LinkFailureEffect.determineEffectOfMultipleFailure(ConnectionInfo<V,E> conn, java.util.Collection<E> failed_e, TED<V,E> ted)
           
 

Uses of SimplePair in bcds.tools
 

Methods in bcds.tools that return SimplePair
static
<T1,T2> SimplePair<T1,T2>
SimplePair.make(T1 v1, T2 v2)
          Convenience "factory" method.
static SimplePair<java.lang.Integer,java.lang.Boolean> Utils.parseIntOrPrc(java.lang.String str)
          Parses an integer or an integer percentage from the given string and returns the integer and a boolean to signal if a percentage sign was found.