MATES 3.0-rc2
A B C D E F G H I K L M N O P Q R S T U V W X Y

G

GraphicalUserInterface - class org.mates.ui.graphical.GraphicalUserInterface.
 
GraphicalUserInterface(Container) - Constructor for class org.mates.ui.graphical.GraphicalUserInterface
 
GraphicalUserInterface.ScreenshotPainter - class org.mates.ui.graphical.GraphicalUserInterface.ScreenshotPainter.
Class to encapsulate the paint method of the GUI's TopologyVisualizer instance, for taking screenshots.
GraphicalUserInterface.ScreenshotPainter() - Constructor for class org.mates.ui.graphical.GraphicalUserInterface.ScreenshotPainter
 
GreetingProvider - interface org.mates.ui.GreetingProvider.
Interface for providing a greeting message for each UserInterface.
Grid - class org.mates.util.Grid.
A class for storing objects in a grid or matrix.
Grid() - Constructor for class org.mates.util.Grid
Creates a grid with one row and one column.
Grid(int, int) - Constructor for class org.mates.util.Grid
Creates a grid.
GridLinkModel - class org.mates.sim.models.link.GridLinkModel.
Link model for a grid.
GridLinkModel(Grid) - Constructor for class org.mates.sim.models.link.GridLinkModel
Default constructor.
GridMobilityModel - class org.mates.sim.models.mobility.GridMobilityModel.
Mobility model for a grid.
GridMobilityModel(Grid, double, double, double, double, int, Random) - Constructor for class org.mates.sim.models.mobility.GridMobilityModel
Constructs a grid mobility model.
getAdjacency() - Method in class org.mates.sim.network.Topology
Returns a weighted adjacency matrix representation of the topology.
getAgent(UniqueID) - Method in class org.mates.sim.Host
Returns an agent on this host.
getAgent() - Method in class org.mates.sim.event.agent.AgentEvent
Returns the agent associated with this event.
getAgentByName(String) - Method in class org.mates.sim.Host
Returns an agent on this host.
getAgents() - Method in class org.mates.sim.Host
Returns an Enumeration of the agents currently on this host.
getAgentsInTransit() - Method in class org.mates.sim.Simulator
Returns a the agents currently in transit.
getAverageDegreeDistribution() - Method in class org.mates.plugins.StatisticsPlugin
Returns the average degree distribution of the topology.
getAverageHostDegree() - Method in class org.mates.plugins.StatisticsPlugin
Returns the average neighborhood size of each host thus far in the simulation.
getAverageTopologyDensity() - Method in class org.mates.plugins.StatisticsPlugin
Returns the average density of the topology.
getAverageTopologyDiameter() - Method in class org.mates.plugins.StatisticsPlugin
Returns the average neighborhood size of each host thus far in the simulation.
getCPUSchedulingModel() - Method in class org.mates.sim.Host
Returns this host's CPU scheduling model;
getClass(String) - Static method in class org.mates.util.ClassCreator
Returns a new instance of a class from the class' name.
getClass(String, Class[], Object[]) - Static method in class org.mates.util.ClassCreator
Returns a new instance of a class from the class' name and the arguments for its constructor.
getColor() - Method in class org.mates.sim.Host
Returns the color of this host, if it is to be displayed graphically.
getColumn(Object) - Method in class org.mates.util.Grid
Returns the column of an object in the grid.
getCommunicableHosts(Host) - Method in class org.mates.sim.network.Topology
Returns a vector of all of the hosts that the provided host can communicate with.
getCurrentIteration() - Method in class org.mates.sim.Simulator
Returns the current iteration of the simulator.
getDataOffset() - Method in class org.mates.util.Bundle
Accessor for the data offset.
getDataRange() - Method in class org.mates.util.Bundle
Accessor for the data range.
getDefaultRadioRange() - Method in class org.mates.sim.Simulator
Returns the default radio range of a host.
getDegreeDistribution() - Method in class org.mates.sim.network.Topology
Returns the current degree distribution of the topology.
getDestinationHost() - Method in class org.mates.sim.event.agent.AgentArrivalEvent
Returns the host to which the agent arrived.
getDestinationHost() - Method in class org.mates.sim.event.agent.AgentMigrationEvent
Returns the host to which the agent migrated.
getDieOnMigrationFailure() - Method in class org.mates.sim.Agent
Returns whether or not an agent will die if its migration fails.
getDirectory() - Method in class org.mates.plugins.TopologyMoviePlugin
Returns the directory to which the individual frames are being stored.
getDistances() - Method in class org.mates.sim.network.Topology.AllPairsShortestPathData
Returns an nxn matrix where n == getNumHosts() and entry i,j corresponds to the distance of the shortest path from host i to host j.
getDistances() - Method in class org.mates.sim.network.Topology.SingleSourceShortestPathData
Returns an n-element array where n == getNumHosts() and entry ith entry corresponds to the distance of the shortest path from host source_index to host i.
getDomainBounds() - Method in class org.mates.sim.Simulator
Returns the bounds object for the domain.
getDomainHeight() - Method in class org.mates.sim.Simulator
Returns the height of the domain.
getDomainWidth() - Method in class org.mates.sim.Simulator
Returns the width of the domain.
getDrawRadioRanges() - Method in class org.mates.ui.graphical.DefaultTopologyVisualizer
 
getDrawRadioRanges() - Method in interface org.mates.ui.graphical.TopologyVisualizer
Returns whether or not radio ranges will be drawn.
getExperiment(String) - Static method in class org.mates.Mates
Returns a new experiment object instantiated from its class name.
getExperiment() - Method in class org.mates.sim.Simulator
Returns the first experiment controlling this simulator.
getExperiments() - Method in class org.mates.sim.Simulator
Returns an array containing all of the experiments controlling this simulator.
getFrameCounter() - Method in class org.mates.plugins.TopologyMoviePlugin
Returns the current value of the frame counter.
getFrames() - Method in class org.mates.plugins.TopologyMoviePlugin
Returns a LinkedList of File objects pointing to the individual frames of the movie.
getFromPosition() - Method in class org.mates.sim.event.host.HostMovedEvent
Returns the position from which this host moved.
getGUI() - Method in class org.mates.plugins.StatisticsPlugin
 
getGUI() - Method in class org.mates.plugins.TopologyMoviePlugin
 
getGUI() - Method in class org.mates.sim.Agent
Returns a graphical component for the interface of this agent.
getGUI() - Method in class org.mates.sim.Experiment
Returns the GUI component associated with this experiment.
getGUI() - Method in class org.mates.ui.graphical.DefaultTopologyVisualizer
 
getGUI() - Method in interface org.mates.ui.graphical.TopologyVisualizer
Returns the GUI component associated with this visualizer.
getGreeting() - Method in class org.mates.Mates
 
getGreeting() - Method in interface org.mates.ui.GreetingProvider
 
getHeight() - Method in class org.mates.util.BoundingBox
Returns the height of this bounding box.
getHost() - Method in class org.mates.sim.Agent
Returns the current host this agent is on.
getHost() - Method in class org.mates.sim.event.host.HostEvent
Returns the host associated with this event.
getHostAt(int, int, int) - Method in class org.mates.ui.graphical.DefaultTopologyVisualizer
Finds the host closest to a point.
getHostAt(int, int, int) - Method in interface org.mates.ui.graphical.TopologyVisualizer
Returns true if and only if a host exists within radius pixels of the coordinate (x, y).
getHostByIndex(int) - Method in class org.mates.sim.network.Topology
Accessor function for a host in the topology, based on its index.
getHostIndex(Host) - Method in class org.mates.sim.network.Topology
Returns the index of the provided host.
getHostNames() - Method in class org.mates.sim.network.Topology
Returns an array of the names of the hosts in this topology.
getHosts() - Method in class org.mates.sim.Simulator
Returns the hosts in the simulator.
getHosts() - Method in class org.mates.sim.network.Topology.TopologyBundle
Returns a vector of hosts to update
getIconHeight() - Method in class org.mates.ui.graphical.MatesIcon
 
getIconWidth() - Method in class org.mates.ui.graphical.MatesIcon
 
getIteration() - Method in class org.mates.sim.event.LogEvent
Returns the iteration on which the event was thrown.
getKey() - Method in class org.mates.util.FibonacciHeap.Node
Obtain the key for this node.
getLinkModel() - Method in class org.mates.sim.Simulator
Accessor for the simulation's link model.
getLinkModel() - Method in class org.mates.sim.network.Topology.TopologyBundle
Returns the link model with which to update
getLinkQuality(Host, Host) - Method in class org.mates.sim.Simulator
Returns the link quality between two hosts, according to the link model.
getLinkQuality(Host, Host) - Method in interface org.mates.sim.models.LinkModel
This function should return a real number in the range from 0.0 to 1.0, where 1.0 is a link of maximum quality.
getLinkQuality(Host, Host) - Method in class org.mates.sim.models.link.FullyConnectedLinkModel
Always returns 1.0
getLinkQuality(Host, Host) - Method in class org.mates.sim.models.link.GridLinkModel
Returns the link quality from host1 to host2.
getLinkQuality(Host, Host) - Method in class org.mates.sim.models.link.QuadraticLinkModel
Determines the link quality of the directed connection between two hosts.
getLinkQuality(Host, Host, long) - Method in class org.mates.sim.models.link.TemporalLinkModel
Returns the link quality between fromHost and toHost at time atTime.
getLinkQuality(Host, Host) - Method in class org.mates.sim.models.link.TemporalLinkModel
 
getLinkQuality(Host, Host) - Method in class org.mates.sim.network.Topology
Returns the link quality between two hosts in the topology.
getLogStream() - Method in class org.mates.sim.Simulator
Returns the output stream for the log.
getLowerLeft() - Method in class org.mates.util.BoundingBox
Returns the lower-left corner of the bounding box;
getMenuItems() - Method in class org.mates.sim.Experiment
Returns an array of menu items (usually in the form of JMenuItems) to be added to the GUI for this experiment.
getMessage() - Method in class org.mates.sim.event.LogEvent
Returns the message associated with this event.
getMigrationTimeout() - Method in class org.mates.sim.Agent
Accessor for the migration timeout of this agent
getMobilityModel() - Method in class org.mates.sim.Host
Returns this host's mobility model.
getMouseEvent() - Method in class org.mates.sim.event.host.HostClickedEvent
Returns the MouseEvent describing the context of the click.
getName() - Method in class org.mates.sim.Agent
Returns the name of this agent.
getName() - Method in class org.mates.sim.Host
Returns the name of this host.
getNeighbors() - Method in class org.mates.sim.Host
Conveniance function that calls 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 nxn 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 nxn 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
A B C D E F G H I K L M N O P Q R S T U V W X Y
Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik