A B C D E F G H I J K L M N O P Q R S T U V W Z

R

ra - Variable in class bcds.phison.ra.ConnectionInfo
A reference to the routing algorithm that was used to find the paths for this connection.
ra - Variable in class bcds.phison.sim.SimParams
 
ra_prefixes - Variable in class bcds.phison.sim.SimParams
Routing algorithms' name prefixes.
raise(ArgsParserException.ErrorCode, String, Object...) - Static method in class bcds.tools.ArgsParser
Throws an exception with the given error code and message.
raise(ArgsParserException.ErrorCode, String) - Static method in class bcds.tools.ArgsParser
Throws an exception with the given error code and message.
raise(String, Object...) - Static method in class bcds.tools.ArgsParser
Throws an exception with error code GENERIC.
raiseBadFormatEx(String, Object...) - Method in class bcds.phison.io.GraphReader
Throws an exception with a given message.
raiseBadUsage(String, Object...) - Static method in class bcds.tools.ArgsParser
Throws and exception with error code BAD_USAGE and and the given message.
read() - Method in class bcds.phison.io.DemandTypesReader
Reads the whole file and populates the internal map.
read(Set<V>, Set<V>) - Method in class bcds.phison.io.IEPReader
Reads the file in full and saves the data into internal variables so that they can be retrieved later through calls to other methods.
read() - Method in class bcds.phison.io.ZoneMap
Reads the file in full and saves the data into internal variables so that they can be retrieved later through calls to other methods.
readArgsFromFile(String) - Method in class bcds.tools.ArgsParser
Reads command-line like arguments from the file fname.
readFromFile(String) - Method in class bcds.tools.Environ
Read the file fname and populates this with keys and values found there.
readGraph() - Method in class bcds.phison.cmd.CapacityChanger
 
readGraph(Class<V>, Class<E>) - Method in class bcds.phison.cmd.CheegerConstants
 
readGraph() - Method in class bcds.phison.cmd.CostChanger
 
readGraph() - Method in class bcds.phison.cmd.IOFormatConverter
 
readGraph() - Method in class bcds.phison.cmd.IOFormatToPajek
 
readGraph(String) - Method in class bcds.phison.cmd.Metrics
 
readGraph() - Method in class bcds.phison.cmd.PrintDegreeDistribution
 
readGraph() - Method in class bcds.phison.cmd.PrintJDD
 
readGraph() - Method in class bcds.phison.cmd.RndZoneMap
 
readGraph() - Method in class bcds.phison.cmd.TopologyExaminer
 
readGraph() - Method in class bcds.phison.demo.DemoClustering
 
readGraph() - Method in class bcds.phison.demo.DemoRoutingAlgorithm
 
readGraph() - Method in class bcds.phison.demo.TopolMetricVariation
 
recoverBidiLink(E, int) - Method in class bcds.phison.ra.TED
Registers that both e and reverse(e) are not in the failed state anymore.
register(ZoneInfo<V, E>) - Method in class bcds.phison.io.ZoneMap
Registers a given zone, whose id zinf.id.
register(Object) - Method in class bcds.tools.DynLoader
Puts the object instance at the end of the objects list and registers it as the instance for the class instance.getClass().
registerBidiLinkFailure(E) - Method in class bcds.phison.ra.TED
Registers the failure of links e and reverse(e).
registerConnection(ConnectionInfo<V, E>) - Method in class bcds.phison.ra.TED
Register the acceptance of a connection, updates the internal information and informs the corresponding routing algorithm that a connection has been accepted.
registerConnPerLink(ConnectionInfo<V, E>, Path<V, E>) - Method in class bcds.phison.ra.TED
Updates the list of connections using the links of a given path.
registerLinkFailureEvent(PmLinkFailure<V, E>.Stats, SimEvents, E, String, TED<V, E>) - Method in class bcds.phison.sim.PmLinkFailure
Updates: - the number of concurrent link failures, - the list of links that have failed, - the number of connections affected by the failure, - the affected capacity, - the histogram "failure notification time".
reinstallBidiLinks(Collection<E>, int) - Method in class bcds.phison.ra.TED
Calls TED.recoverBidiLink(E, int) for each element in links and sets the residual capacity of both link directions to the valure returned by TED.getLinkCap(E).
reinstallLinks(HashSet<E>, int) - Method in class bcds.phison.multfailures.PmStatic
Links that in the previous time steps were unavailable but are now back into operation, are reactivated by calling TED.reinstallBidiLinks(java.util.Collection, int).
releaseConnection(int) - Method in class bcds.phison.ra.TED
Release the connection identified by id.
remove() - Method in class bcds.phison.NodePairsTrig
 
remove(String) - Method in class bcds.phison.sim.SimStatsCollector
Removes a collector.
remove(String) - Method in class bcds.tools.Environ
Removes key from this table.
remove(E) - Method in class bcds.tools.FreqTable
Removes the element e.
remove(Object) - Method in class bcds.tools.MapToConst
Removes key from the map and returns the constant value.
removeAllEdges(Collection<E>) - Method in class bcds.phison.SdiGraph
Removes all the edges in the collection c by repeatedly calling SdiGraph.removeEdge(E).
removeAllEdges(Collection<E>) - Method in interface bcds.phison.SimGraph
 
removeAllVertices(Collection<V>) - Method in class bcds.phison.SdiGraph
Removes all the edges in the collection c by repeatedly calling SdiGraph.removeVertex(V).
removeAllVertices(Collection<V>) - Method in interface bcds.phison.SimGraph
 
removeEdge(E) - Method in class bcds.phison.SdiGraph
Detaches the given edge from this graph.
removeEdge(E) - Method in interface bcds.phison.SimGraph
Removes the edge e from this graph.
removeFlag(BetweennessCentrality.Flags) - Method in class bcds.phison.gm.BetweennessCentrality
 
removeMin() - Method in class bcds.tools.PQWithNumericKey
Removes the item with the smallest key and returns its data element.
removeNodesOfDegree(SimGraph<V, E>, int) - Method in class bcds.phison.gm.Spreaders
Removes all the nodes with degree k from the graph 'sg' and returns the consequently subgraph.
removePath(String) - Static method in class bcds.tools.Utils
Returns the last component of a path, assuming that the component separator is the forward slash (/).
removeVertex(V) - Method in class bcds.phison.SdiGraph
Removes the given vertex and all its associated edges (both incoming and outgoing).
removeVertex(V) - Method in interface bcds.phison.SimGraph
Removes the vertex v from this graph and all its associated edges.
rep_out_file - Variable in class bcds.phison.sim.SimParams
File name where stdout will be sent, especially when num_workers is greater than 1.
replaceExt(String, String) - Static method in class bcds.tools.Utils
Replaces the "extension" of a file name.
report() - Method in interface bcds.tools.stat.Collector
Returns this collector's name followed by the a list of desciption=value for the results.
report() - Method in class bcds.tools.stat.CollectorBase
Returns this collector's name followed by the a list of desciption=value for the results.
report(String, Collection<? extends Collector>) - Static method in class bcds.tools.stat.CollectorBase
Formats the results of a series of collectors belonging to the same class, one line per collector, and as many columns as results are provided by the class.
report(Collection<? extends Collector>) - Static method in class bcds.tools.stat.CollectorBase
Returns a string, one line per collector, resulting from calling the report method on each object in the given collection.
report() - Method in class bcds.tools.stat.Series
Returns the series' name and the number of items it contains.
reset() - Method in class bcds.phison.io.ZoneMap
Reinitializes internal data structures.
reset() - Method in class bcds.tools.CombinationGenerator
Resets this generator, as if it were just instantiated.
resistsLinkFailure() - Method in enum bcds.phison.sim.LinkFailureEffect.Effect
 
retireBidiLinks(Collection<E>) - Method in class bcds.phison.ra.TED
Calls TED.registerBidiLinkFailure(E) for each link in failed and sets the residual capacity of both link directions to zero.
retireLinks(HashSet<E>) - Method in class bcds.phison.multfailures.PmStatic
Makes sure that all links are unavailable for traffic in the future.
reverse() - Method in class bcds.phison.Path
Given a path a-b-c-d, returns d-c-b-a.
reverseEdge(SimGraph<V, E>, E) - Static method in class bcds.phison.GraphUtil
Deprecated. Better use g.reverseEdge() directly.
reverseEdge(E) - Method in class bcds.phison.SdiGraph
Returns the edge that runs in the reverse direction to e, or null if such an edge does not exist.
reverseEdge(E) - Method in interface bcds.phison.SimGraph
Returns getEdge(getEdgeTarget(e), getEdgeSource(e)), which may an edge object or null.
rewind() - Method in class bcds.tools.DataFileReader
Repositions the file pointer to the beginning.
RingTopologyCreator - Class in bcds.phison.cmd
 
RingTopologyCreator() - Constructor for class bcds.phison.cmd.RingTopologyCreator
 
rnd_gen - Variable in class bcds.phison.sim.SimGlobals
Random number generator that processing modules can use.
RndArea - Class in bcds.tools.random
Selects random values from a list, where the probability of being selected depends on the elements' "proportion" (or share) within the group.
RndArea(ArrayList<T1>) - Constructor for class bcds.tools.random.RndArea
Creates a new instance with the elements frequency given in val_prop.
RndArea(Random, ArrayList<T1>) - Constructor for class bcds.tools.random.RndArea
Creates a new instance.
RndExp - Class in bcds.tools.random
Generates random values according to an exponential distribution.
RndExp(double) - Constructor for class bcds.tools.random.RndExp
Creates a new instance with specific desired mean and standard deviation (sigma).
RndExp(Random, double) - Constructor for class bcds.tools.random.RndExp
Creates a new instance with specific desired mean and standard deviation (sigma), with the randomness source set to rnd.
RndGen - Interface in bcds.tools.random
Interface for random number generators.
RndGenBase - Class in bcds.tools.random
Base class for RndGen.
RndGenBase() - Constructor for class bcds.tools.random.RndGenBase
Default constructor that instantiates a java.util.Random as its source of random numbers.
RndGenBase(Random) - Constructor for class bcds.tools.random.RndGenBase
Constructor that uses rnd as the randomness source.
RndLogNormal - Class in bcds.tools.random
Generates random values following a lognormal distribution with given mean and standard deviation.
RndLogNormal(double, double) - Constructor for class bcds.tools.random.RndLogNormal
Creates a new instance with specific desired mean and standard deviation (sigma).
RndLogNormal(Random, double, double) - Constructor for class bcds.tools.random.RndLogNormal
Creates a new instance with specific desired mean and standard deviation (sigma), with the randomness source set to rnd.
RndNormal - Class in bcds.tools.random
Generates random values following a normal or "Gaussian" distribution with given mean and standard deviation.
RndNormal(double, double) - Constructor for class bcds.tools.random.RndNormal
Creates a new instance with specific desired mean and standard deviation (sigma).
RndNormal(Random, double, double) - Constructor for class bcds.tools.random.RndNormal
Creates a new instance with specific desired mean and standard deviation (sigma), with the randomness source set to rnd.
RndPareto - Class in bcds.tools.random
Generates random values following a Pareto distribution.
RndPareto(double, double) - Constructor for class bcds.tools.random.RndPareto
Creates a new instance that uses the default randomness source.
RndPareto(Random, double, double) - Constructor for class bcds.tools.random.RndPareto
Creates a new instance that uses rnd as the randomess source.
RndUnif - Class in bcds.tools.random
Generates uniformly distributed random values in the range [0, max).
RndUnif(double) - Constructor for class bcds.tools.random.RndUnif
Creates an instance that will produce randomm values in the range [0..max), that is excluding max.
RndUnif(Random, double) - Constructor for class bcds.tools.random.RndUnif
Creates an instance that will produce randomm values in the range [0..max), that is excluding max, using rnd as the randomness source.
RndZoneMap - Class in bcds.phison.cmd
Generates a "zone map" with random reliability data (MTTR, MTBF) of a given topology.
RndZoneMap() - Constructor for class bcds.phison.cmd.RndZoneMap
 
RoutingAlg<V,E> - Interface in bcds.phison.ra
Defines the methods that all routing algorithms must implement.
RoutingAlgBase<V,E> - Class in bcds.phison.ra
Provides default implementation of the methods defined in RoutingAlg as well as additional methods useful for routing algorithms.
RoutingAlgBase() - Constructor for class bcds.phison.ra.RoutingAlgBase
 
run(V, V, int) - Method in class bcds.phison.alg.FloydWarshall
Returns the shortest path between nodes src and dest.
run(V, V) - Method in class bcds.phison.alg.MaxFlowEK
Returns the (total) max-flow between src and dest.
run() - Method in interface bcds.phison.clustering.Clusterer
Executes the clustering algorithm and returns the node to cluster-id mapping.
run() - Method in class bcds.phison.clustering.Dummy
Returns each node assigned to its own cluster.
run() - Method in class bcds.phison.clustering.GraphCondenser
Performs the graph condensing and returns the new graph of clusters.
run() - Method in class bcds.phison.clustering.NoackLinLog
Calls NoackLinLog.run(int) with the number of iterations set to the value of the environment parameter NoackLinLog.iterations.
run(int) - Method in class bcds.phison.clustering.NoackLinLog
Groups nodes in clusters through org.noak.graphlayout.MinimizerBarnesHut and returns the corresponding node-to-cluster mapping.
run() - Method in class bcds.phison.clustering.ZoneAsCluster
 
run() - Method in class bcds.phison.cmd.BetweennessCent
 
run() - Method in class bcds.phison.cmd.CapacityChanger
 
run() - Method in class bcds.phison.cmd.CostChanger
 
run() - Method in class bcds.phison.cmd.LatticeTopologyCreator
 
run() - Method in class bcds.phison.cmd.Metrics
Main method.
run() - Method in class bcds.phison.cmd.PrintDegreeDistribution
 
run() - Method in class bcds.phison.cmd.PrintJDD
 
run() - Method in class bcds.phison.cmd.RingTopologyCreator
 
run() - Method in class bcds.phison.cmd.RndZoneMap
 
run() - Method in class bcds.phison.cmd.TopologyExaminer
 
run() - Method in class bcds.phison.cmd.TopologyMerger
 
run() - Method in class bcds.phison.demo.DemoClustering
 
run() - Method in class bcds.phison.demo.DemoRoutingAlgorithm
 
run() - Method in class bcds.phison.demo.DemoTwoTermReliability
 
run() - Method in class bcds.phison.demo.TopolMetricVariation
 
run() - Method in class bcds.phison.gm.Assortativity
 
run() - Method in class bcds.phison.gm.AverageEdgeBC
Computes the betweenness centrality.
run() - Method in class bcds.phison.gm.AverageNeighborConnectivity
Performs the computation of the average neighbor connectivity.
run() - Method in class bcds.phison.gm.AverageNodeBC
Computes the betweenness centrality.
run() - Method in class bcds.phison.gm.AvgTwoTermReliability
Computes the average two-terminal reliability.
run() - Method in class bcds.phison.gm.BrandesBC
Computes the betweenness centrality.
run() - Method in class bcds.phison.gm.CheegerConstantBruteForce
 
run(int) - Method in class bcds.phison.gm.CheegerConstantBruteForce
 
run() - Method in class bcds.phison.gm.ClusteringCoeff
Computes and stores internally the local clustering coefficient of each node.
run() - Method in class bcds.phison.gm.Diameter
Computes all the metrics offered by this class and store them for later retrieval.
run() - Method in interface bcds.phison.gm.GraphMetric
Computes the metric.
run() - Method in class bcds.phison.gm.GraphMetricBase
Default implementation.
run() - Method in class bcds.phison.gm.LinkConnectivity
Computes the link connectivity of a topology using the MaxFlowEK algorithm.
run() - Method in class bcds.phison.gm.NodeConnectivity
Computes the node connectivity of a topology using the MaxFlowEK algorithm.
run() - Method in class bcds.phison.gm.Spreaders
Performs the k-shell decomposition.
run() - Method in class bcds.phison.io.GraphMLReader
Reads the GraphML file.
run() - Method in class bcds.phison.io.GraphReader
Do the actual reading.
run() - Method in class bcds.phison.io.NetGraphReader
Reads the file and populates the SimGraph g and the maps corresponding to edge or node pair attributes.
run() - Method in class bcds.phison.io.SgfGraphReader
Reads the file and populates the SimGraph g and the maps corresponding to edge or node pair attributes.
run() - Method in interface bcds.phison.NullaryProc
 
run(V, V, int) - Method in class bcds.phison.ra.DijkstraAll
Returns the shortest path from src to dest with the restriction that residual capacity must be at least rq_cap along the path.
run(V, V, int) - Method in class bcds.phison.ra.LMIR
Returns al LMIR path from src to dest whose links have residual capacity at least equal to rq_cap, or null if no path can be found.
run(V, V, int) - Method in class bcds.phison.ra.Null
Always returns null.
run(V, V, int) - Method in class bcds.phison.ra.ProtDPP_MinCost
 
run(V, V, int) - Method in interface bcds.phison.ra.RoutingAlg
Returns a path between src and dest, or null if such path cannot be found.
run(V, V, int) - Method in class bcds.phison.ra.SWP
Returns a SWP path whose links have residual capacity at least equal to rq_cap.
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmBase
Empty implementation.
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmDTypeReplicator
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmDumpRAState
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmLinkFailure
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTrace2TR
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceConn
Intercepts the events TIME, CONN_REQUEST and CONN_RELEASE and generate the requested output.
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceConnGbl
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceLinkUsage
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceLinkUsageToDOT
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTracePathLength
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceProgress
Keeps a count of the number of connections accepted and rejected.
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceTimestepBlocking
 
run(SimEvents, ConnectionInfo<V, E>) - Method in class bcds.phison.sim.PmTraceTrafficMatrix
 
run(SimEvents, ConnectionInfo<V, E>) - Method in interface bcds.phison.sim.ProcessingModule
Process an event, whose type evtype.
run() - Method in class bcds.phison.sim.SimTask
Executes a simulation: prepares the required data, starts the simulator's core and process events until no event exists or a limit is reached, signaled with a LimitReachedException, which is catched (swallowed) here.
run() - Method in interface bcds.phison.sim.StatsExporter
Performs the actions for which the class is designed.
run() - Method in class bcds.phison.sim.SxSeriesToGnuPlot
Iterates over the statistical collectors and generates the GnuPlot script files and data files.
run() - Method in class bcds.phison.sim.SxStdoutBasic
Prints the collectors reports, as described in the class' introduction.
run() - Method in class bcds.tools.Exec
Runs the command and returns its exit code.
run(String[], String...) - Static method in class bcds.tools.Exec
Executes the command given in cmd and returns the command's stdout in output[0] and the command's stderr in output[1].
runAll(V, V, int) - Method in class bcds.phison.ra.DijkstraAll
Returns the shortest path from src to dest just as DijkstraAll.run(V, V, int) but also makes sure that Dijkstra's algorithm runs to completion (that is, creates the full tree rooted at src), thus enabling the use of obtain() later on.
RunningStdDev - Class in bcds.tools
Computes a running (or online, or continuous) standard deviation, that is, as a new value is available, it is pushed into an instance of this class and, at any time, the standard deviation can be obtained with a call to stdDev.
RunningStdDev() - Constructor for class bcds.tools.RunningStdDev
Default constructor.

A B C D E F G H I J K L M N O P Q R S T U V W Z