|
MATES 3.0-rc2 | ||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
paint
method of the GUI's
TopologyVisualizer
instance, for taking screenshots.UserInterface
.n
xn
matrix where
n == getNumHosts()
and entry i,j
corresponds to the distance of the shortest path from host
i
to host j
.
n
-element array where n ==
getNumHosts()
and entry i
th
entry corresponds to the distance of the shortest path from
host source_index
to host i
.
LinkedList
of File
objects pointing to the individual frames of the movie.
true
if and only if a host exists within
radius
pixels of the coordinate (x
,
y
).
host1
to
host2
.
fromHost
and
toHost
at time atTime
.
JMenuItem
s) to be added to the GUI for this
experiment.
MouseEvent
describing the
context of the click.
getSimulator
().
- getNeighbors(Host) -
Method in class org.mates.sim.Simulator
- Returns the neighbors of a host.
- getNeighbors(Host) -
Method in class org.mates.sim.network.Topology
- This is equivalent to
Topology.getNeighborsHostCanTalkTo(Host)
.
- getNeighborsHostCanHear(Host) -
Method in class org.mates.sim.network.Topology
- Returns a vector of all of a host's neighbors that are capable
of sending messages to the provided host.
- getNeighborsHostCanTalkTo(Host) -
Method in class org.mates.sim.network.Topology
- Returns a vector of all of a host's neighbors that are capable
of receiving messages from the provided host.
- getNeighborsICanHear() -
Method in class org.mates.sim.Host
- Conveniance function that calls
getSimulator
().
- getNext() -
Method in class org.mates.util.Bundle
- Returns the next Bundle in the current list.
- getNumColumns() -
Method in class org.mates.util.Grid
- Returns the current number of columns in the grid.
- getNumHosts() -
Method in class org.mates.sim.network.Topology
- Returns the number of hosts in the topology.
- getNumRows() -
Method in class org.mates.util.Grid
- Returns the current number of rows in the grid.
- getNumThreads() -
Static method in class org.mates.sim.Simulator
- Returns the current number of threads each simulator is to run
concurrently.
- getNumThreads() -
Method in class org.mates.util.BatchProcessor
- Returns the current maximum number of threads this is to use.
- getObject() -
Method in class org.mates.util.FibonacciHeap.Node
- Obtain the object associated with this node.
- getPaintMethod(Class) -
Static method in class org.mates.util.Screenshot
- Determines if a given class implements the
paint(java.awt.Graphics)
method.
- getParentExperiment() -
Method in class org.mates.sim.Experiment
- Returns the parent experiment of this experiment.
- getPayload() -
Method in class org.mates.util.Bundle
- Returns the payload of this bundle.
- getPosition() -
Method in class org.mates.sim.Host
- Returns the current position of this host.
- getPredecessors() -
Method in class org.mates.sim.network.Topology.AllPairsShortestPathData
- Returns an
n
xn
matrix where
n == getNumHosts()
and entry i,j
corresponds to the predecessor of j
in the
shortest path from host i
to host
j
.
- getPredecessors() -
Method in class org.mates.sim.network.Topology.SingleSourceShortestPathData
- Returns the predecessor array for the shortest paths.
- getPriority() -
Method in class org.mates.sim.Agent
- Accessor for the priority of this agent.
- getProcessor() -
Method in class org.mates.util.BatchProcessor
- Accessor for the current processor.
- getRadioRange() -
Method in class org.mates.sim.Host
- Returns the radio range of this host.
- getRandom() -
Method in class org.mates.sim.Simulator
- Accessor for the random number generator of the simulator.
- getResult() -
Method in class org.mates.util.BatchProcessor.BatchProcessorThread
- Returns the resulting bundle list from the processing.
- getRoute(int, int) -
Method in class org.mates.sim.network.Topology.AllPairsShortestPathData
- Convenience function that calls
Topology.getRoute(int[][], int, int)
on the current
predecessor matrix.
- getRoute(Host) -
Method in class org.mates.sim.network.Topology.SingleSourceShortestPathData
- Returns the next host in the route from the source host to
host
.
- getRoute(int) -
Method in class org.mates.sim.network.Topology.SingleSourceShortestPathData
- Returns the next host in the route from the source host to
the host with index
host_index
.
- getRoute(int[][], int, int) -
Static method in class org.mates.sim.network.Topology
- Returns an array of integers representing the shortest path
(i.e.
- getRoutes() -
Method in class org.mates.sim.network.Topology.AllPairsShortestPathData
- Returns an
n
xn
matrix where
n == getNumHosts()
and entry i,j
corresponds to the next host in the shortest path from host
i
to host j
.
- getRow(Object) -
Method in class org.mates.util.Grid
- Returns the row of an object in the grid.
- getScreenshotSaveFile(Component) -
Static method in class org.mates.util.Screenshot
- Prompts the user for a file to which to save a screenshot.
- getSimulator() -
Method in class org.mates.sim.Agent
- Internal accessor for the simulator that this agent is
currently running within.
- getSimulator() -
Method in class org.mates.sim.Experiment
- Returns the simulator associated with this experiment tree.
- getSimulator() -
Method in class org.mates.sim.Host
- Returns the simulator in which this host was created.
- getSource() -
Method in class org.mates.sim.event.LogEvent
- Returns the source object that threw (our caused) the event.
- getSource() -
Method in class org.mates.sim.network.Topology.SingleSourceShortestPathData
- Returns the source host for the shortest paths.
- getSourceHost() -
Method in class org.mates.sim.event.agent.AgentArrivalEvent
- Returns the host from which the agent was sent.
- getSourceHost() -
Method in class org.mates.sim.event.agent.AgentMigrationEvent
- Returns the host from which the agent migrated.
- getSourceIndex() -
Method in class org.mates.sim.network.Topology.SingleSourceShortestPathData
- Returns the index of the source host for the shortest
paths.
- getSubExperiments() -
Method in class org.mates.sim.Experiment
- Returns an
ArrayList
containing all of this
experiment's sub-experiments.
- getToPosition() -
Method in class org.mates.sim.event.host.HostMovedEvent
- Returns the position to which this host moved.
- getTopology() -
Method in class org.mates.sim.Simulator
- Returns the current network topology.
- getTopologyVisualizer() -
Method in class org.mates.ui.graphical.GraphicalUserInterface
- Returns the topology visualizer used by the GUI.
- getTransmissionRate(Host, Host) -
Method in interface org.mates.sim.models.TransportModel
- Given two hosts, this function returns the amount of data that
can be transmitted between them in one iteration.
- getTransmissionRate(Host, Host) -
Method in class org.mates.sim.models.transport.DefaultTransportModel
- Returns the transmission rate between two hosts.
- getTransmissionSize() -
Method in class org.mates.sim.Agent
- Accessor for the virtual size of this agent.
- getUniqueID() -
Method in class org.mates.sim.Agent
- Returns the unique identifier for this agent.
- getUniqueID() -
Method in class org.mates.sim.Host
- Returns the unique identifier for this host.
- getUpperRight() -
Method in class org.mates.util.BoundingBox
- Returns the upper-right corner of the bounding box.
- getUserInterface() -
Static method in class org.mates.Mates
- Returns the user interface being used with this instance of
MATES.
- getViewScale() -
Method in class org.mates.ui.graphical.DefaultTopologyVisualizer
-
- getViewScale() -
Method in interface org.mates.ui.graphical.TopologyVisualizer
- Returns whether or not a scale is drawn for the topology.
- getWidth() -
Method in class org.mates.util.BoundingBox
- Returns the width of this bounding box.
- getX() -
Method in class org.mates.util.Position2D
- Returns the
x
coordinate of this position.
- getY() -
Method in class org.mates.util.Position2D
- Returns the
y
coordinate of this position.
|
MATES 3.0-rc2 | ||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |