Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Y Z _ 

A

a_list() - Method in class io.jbotsim.io.format.dot.DotParser
 
a_list() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
a_list(int) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
A_listContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.A_listContext
 
absoluteCoords - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
AbstractGenerator - Class in io.jbotsim.gen.basic.generators
The AbstractGenerator holds common fields and methods for the different implementations of the TopologyGenerator interface.
AbstractGenerator() - Constructor for class io.jbotsim.gen.basic.generators.AbstractGenerator
 
AccelerationFunctionExp() - Constructor for class io.jbotsim.ui.JViewer.AccelerationFunctionExp
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.A_listContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeopContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.PortContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
accept(Element) - Method in interface io.jbotsim.io.format.xml.XMLParser.ElementVisitor
 
actionPerformed(ActionEvent) - Method in class io.jbotsim.ui.JTopology
 
addAppearanceDate(int) - Method in class io.jbotsim.gen.dynamic.graph.TVLink
 
addBackgroundPainter(BackgroundPainter) - Method in class io.jbotsim.ui.JTopology
 
addClockListener(ClockListener, int) - Method in class io.jbotsim.core.ClockManager
Registers the specified listener to the events of the clock.
addClockListener(ClockListener) - Method in class io.jbotsim.core.ClockManager
Registers the specified listener to every pulse of the clock.
addClockListener(ClockListener, int) - Method in class io.jbotsim.core.Topology
Registers the specified listener to the events of the clock.
addClockListener(ClockListener) - Method in class io.jbotsim.core.Topology
Registers the specified listener to the events of the clock.
addCommand(String) - Method in class io.jbotsim.core.Topology
Adds the specified action command to this Topology.
addCommandListener(CommandListener) - Method in class io.jbotsim.core.Topology
Registers the specified action listener to this Topology.
addConnectivityListener(ConnectivityListener) - Method in class io.jbotsim.core.Topology
Registers the specified topology listener to this topology.
addConnectivityListener(ConnectivityListener, boolean) - Method in class io.jbotsim.core.Topology
addConnectivityListener(ConnectivityListener, Link.Orientation) - Method in class io.jbotsim.core.Topology
Registers the specified connectivity listener to this topology.
addDisappearanceDate(int) - Method in class io.jbotsim.gen.dynamic.graph.TVLink
 
addLink(Link) - Method in class io.jbotsim.core.Topology
Adds the specified link to this topology.
addLink(Link, boolean) - Method in class io.jbotsim.core.Topology
Adds the specified link to this topology without notifying the listeners (if silent is true).
addLinkPainter(LinkPainter) - Method in class io.jbotsim.ui.JTopology
 
addLinks(Topology, int, int, Node[][]) - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
addLinks(Topology, int, Node[]) - Method in class io.jbotsim.gen.basic.generators.KNGenerator
 
addLinks(Topology, int, Node[]) - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
addLinks(Topology, int, int, Node[][]) - Method in class io.jbotsim.gen.basic.generators.TorusGenerator
 
addListener(TracePlayer.ReplayTerminatedListener) - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 
addMessageListener(MessageListener) - Method in class io.jbotsim.core.Topology
Registers the specified message listener to this topology.
addMovementListener(MovementListener) - Method in class io.jbotsim.core.Topology
Registers the specified movement listener to this topology.
addNode(Node) - Method in class io.jbotsim.core.Topology
Adds the specified node to this topology.
addNode(double, double) - Method in class io.jbotsim.core.Topology
Adds a new node to this topology at the specified location.
addNode(double, double, Node) - Method in class io.jbotsim.core.Topology
Adds the specified node to this topology at the specified location.
addNode(Node) - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
addNodeAtLocation(Topology, double, double, double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
addNodePainter(NodePainter) - Method in class io.jbotsim.ui.JTopology
 
addObstacle(Obstacle, Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
Add the given obstacle into the topology
addObstacleListener(ObstacleListener, Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
 
addPropertyListener(PropertyListener) - Method in class io.jbotsim.core.Properties
Registers the specified property listener to this node.
addRandomConnectedNodes(Topology, int) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
addSelectionListener(SelectionListener) - Method in class io.jbotsim.core.Topology
Registers the specified selection listener to this topology.
addSlideBar(JViewer.BarType, int) - Method in class io.jbotsim.ui.JViewer
Adds a slide bar at the top of the topology.
addStartListener(StartListener) - Method in class io.jbotsim.core.Topology
Registers the specified start listener to this topology.
addTopologyListener(TopologyListener) - Method in class io.jbotsim.core.Topology
Registers the specified topology listener to this topology.
addTopologySerializer(String, TopologySerializer) - Method in class io.jbotsim.io.format.TopologySerializerFilenameMatcher
Records and links the provided TopologySerializer to a specific regular expression.
addTopologySerializer(String[], TopologySerializer) - Method in class io.jbotsim.io.format.TopologySerializerFilenameMatcher
Records and links the provided TopologySerializer to a given array.
addTopologySerializer(String, TopologySerializer) - Method in class io.jbotsim.ui.JViewer
Records and links the provided TopologySerializer to a specific regular expression.
addTraceEvent(TraceEvent) - Method in interface io.jbotsim.gen.dynamic.trace.TraceFileWriter
Add a TraceEvent to the set of events.
addTraceEvent(TraceEvent) - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 
addTraceEvent(TraceEvent) - Method in class io.jbotsim.io.format.xml.XMLTraceBuilder
Adds an event to the document
addTVLink(TVLink) - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
Algorithms - Class in io.jbotsim.contrib.algos
 
Algorithms() - Constructor for class io.jbotsim.contrib.algos.Algorithms
 
apply(IType) - Method in interface io.jbotsim.io.format.xml.XMLKeys.Function
 
ArrowTipPathGenerator - Class in io.jbotsim.ui.painting
The ArrowTipPathGenerator creates a path corresponding to an arrow tip.
ArrowTipPathGenerator(double, double, double) - Constructor for class io.jbotsim.ui.painting.ArrowTipPathGenerator
AsyncMessageEngine - Class in io.jbotsim.contrib.messaging
The AsyncMessageEngine is an asynchronous alternative to JBotSim's default MessageEngine.
AsyncMessageEngine(Topology) - Constructor for class io.jbotsim.contrib.messaging.AsyncMessageEngine
Creates a AsyncMessageEngine object.
AsyncMessageEngine(Topology, int, AsyncMessageEngine.Type) - Constructor for class io.jbotsim.contrib.messaging.AsyncMessageEngine
Creates a AsyncMessageEngine object.
AsyncMessageEngine.Type - Enum in io.jbotsim.contrib.messaging
Delivery queue type.
attr_list() - Method in class io.jbotsim.io.format.dot.DotParser
 
attr_list() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
attr_list() - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
attr_list() - Method in class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
Attr_listContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
attr_stmt() - Method in class io.jbotsim.io.format.dot.DotParser
 
attr_stmt() - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
Attr_stmtContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
autoscale(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Automatically scales the position of the Nodes of the Topology to match its boundaries.
autoscale(Topology, TopologyLayouts.AutoScaleParams) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Automatically scales the position of the Nodes of the Topology to match its boundaries.
AutoScaleParams() - Constructor for class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
 
averageDuration - Variable in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 

B

BackgroundPainter - Interface in io.jbotsim.ui.painting
The BackgroundPainter is an element which is used to be called while trying to draw a background.
backgroundPainters - Variable in class io.jbotsim.ui.JTopology
 
birthRate - Variable in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
black - Static variable in class io.jbotsim.core.Color
 
BLACK - Static variable in class io.jbotsim.core.Color
 
blue - Static variable in class io.jbotsim.core.Color
 
BLUE - Static variable in class io.jbotsim.core.Color
 
BooleanFromString - Static variable in enum io.jbotsim.io.format.xml.XMLKeys
 
brighter() - Method in class io.jbotsim.core.Color
Creates a new Color that is a brighter version of this Color.
buildCompleteGraph(Integer) - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
BuilderException(Throwable) - Constructor for exception io.jbotsim.io.format.xml.XMLBuilder.BuilderException
 
BuilderException(String, Throwable) - Constructor for exception io.jbotsim.io.format.xml.XMLBuilder.BuilderException
 
buildFromFile(String) - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
buildTopologyElement(Document, Topology) - Static method in class io.jbotsim.io.format.xml.XMLTopologyBuilder
Method that builds the actual element (and subtrees) that stores the givent Topology tp.

C

cacheMessageAtTime(Map<Integer, List<Message>>, Message, int) - Method in class io.jbotsim.core.DelayMessageEngine
Caches a specific Message at it's planned delivery time (round number).
cacheMessagesAtTime(List<Message>, int) - Method in class io.jbotsim.core.DelayMessageEngine
Caches (internally) the specified List of Messages at that the given delivery time (round number).
cacheNewMessages(List<Message>) - Method in class io.jbotsim.core.DelayMessageEngine
Caches the provided List of new Messages.
camheight - Static variable in class io.jbotsim.ui.JNode
 
CANADAIR - Static variable in class io.jbotsim.ui.icons.Icons
 
CAR - Static variable in class io.jbotsim.ui.icons.Icons
 
center - Variable in class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacle
 
center - Variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Specifies whether centering should be applied.
center(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Automatically centers the Nodes of the Topology inside its boundaries.
channelNames - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
CHERRY - Static variable in class io.jbotsim.ui.icons.Icons
 
circle(Topology, double) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Modifies the location of the Nodes of provided Topology so that they form a circle with a margin on all sides.
circle(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Modifies the location of the Nodes of provided Topology so that they form a circle.
CIRCLE - Static variable in class io.jbotsim.ui.icons.Icons
 
CIRCLE_BLUE_32 - Static variable in class io.jbotsim.ui.icons.Icons
 
CIRCLE_BLUE_OCEAN_32 - Static variable in class io.jbotsim.ui.icons.Icons
 
CircleObstacle - Class in io.jbotsim.contrib.obstacle.shapes2d
 
CircleObstacle(Point, double) - Constructor for class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacle
 
CircleObstacleDrawable - Class in io.jbotsim.contrib.obstacle.shapes2d
 
CircleObstacleDrawable(Point, double) - Constructor for class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacleDrawable
 
clear() - Method in class io.jbotsim.core.Topology
Removes all the nodes (and links) of this topology.
clearLinks() - Method in class io.jbotsim.core.Topology
Removes all the links of this topology.
clearMailboxes() - Method in class io.jbotsim.core.DefaultMessageEngine
Clears the mailboxes of all Nodes present in the topology.
clearMailboxes(Collection<Node>) - Method in class io.jbotsim.core.DefaultMessageEngine
Clears the mailboxes of the specified Collection of Nodes.
clearMessages() - Method in class io.jbotsim.core.Topology
Removes all the ongoing messages in this topology.
clearSendQueues() - Method in class io.jbotsim.core.DefaultMessageEngine
Clears the send queue of all Nodes present in the topology.
clearSendQueues(Collection<Node>) - Method in class io.jbotsim.core.DefaultMessageEngine
Clears the send queue of all Nodes present in the topology.
Clock - Class in io.jbotsim.core
The abstract class Clock is used by the ClockManager to provide JBotSim with a clock mechanism.
Clock(ClockManager) - Constructor for class io.jbotsim.core.Clock
 
ClockListener - Interface in io.jbotsim.core.event
 
ClockManager - Class in io.jbotsim.core
The ClockManager is used by the Topology object to implement its clock mechanism.
clone() - Method in class io.jbotsim.core.Point
 
collectMessages() - Method in class io.jbotsim.core.DefaultMessageEngine
Collects outgoing Messages from all Nodes present in the topology.
collectMessages(Collection<Node>) - Method in class io.jbotsim.core.DefaultMessageEngine
Collects outgoing Messages from the specified Collection of Nodes.
collectMessages(Collection<Message>, Node) - Method in class io.jbotsim.core.DefaultMessageEngine
Collects outgoing Messages from the specified Node.
Color - Class in io.jbotsim.core
JBotSim's Color representation.
Color(int, int, int, int) - Constructor for class io.jbotsim.core.Color
Creates a RGBA color from the provided integer representation.
Color(int, int, int) - Constructor for class io.jbotsim.core.Color
Creates an opaque RGB (no alpha component) color from the provided integer representation.
Color(int) - Constructor for class io.jbotsim.core.Color
Creates an opaque RGB (no alpha component) color from the provided integer representation.
Color(int, boolean) - Constructor for class io.jbotsim.core.Color
Creates a RGB color from the provided integer representation.
Color(Color) - Constructor for class io.jbotsim.core.Color
Copy constructor.
COMMAND_SEPARATOR - Static variable in class io.jbotsim.core.Topology
The character used as command separator.
CommandListener - Interface in io.jbotsim.core.event
The CommandListener is an element which is used to be called when a command arises.
commandListeners - Variable in class io.jbotsim.core.Topology
 
commands - Variable in class io.jbotsim.core.Topology
 
COMMENT - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
COMMENT - Static variable in class io.jbotsim.io.format.dot.DotParser
 
compareTo(Link) - Method in class io.jbotsim.core.Link
Compares the specified link to this link in terms of length.
compareTo(Node) - Method in class io.jbotsim.core.Node
 
computeAvailableSpaceRatio(double) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
computeBoundaries(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Computes the boundaries of a Topology.
computeClockSpeed(double, double) - Static method in class io.jbotsim.ui.JViewer
 
computeDelayFunction(int) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Computes the next value for the delay function.
computeScaleFactor(Topology, TopologyLayouts.TopologyBoundaries, TopologyLayouts.AutoScaleParams) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
computeSliderPosition(double, double) - Static method in class io.jbotsim.ui.JViewer
 
Connectivity - Class in io.jbotsim.contrib.algos
 
Connectivity() - Constructor for class io.jbotsim.contrib.algos.Connectivity
 
ConnectivityListener - Interface in io.jbotsim.core.event
 
content - Variable in class io.jbotsim.core.Message
 
createElement(Document) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Builds an Element of the given Document doc.
createElement(Document, Element) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Creates an element for the given Document doc and adds it to the list of children of the node parent.
createGraph(Vector<Node>, double, double, int) - Static method in class io.jbotsim.gen.dynamic.graph.EMTVGBuilder
 
createToolTip() - Method in class io.jbotsim.ui.JNode
 
createTopology(int, double, double, double) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
currentButton - Static variable in class io.jbotsim.ui.JNode
 
currentTime() - Method in class io.jbotsim.core.ClockManager
Returns the current round number.
currentTime - Variable in class io.jbotsim.core.DelayMessageEngine
 
cyan - Static variable in class io.jbotsim.core.Color
 
CYAN - Static variable in class io.jbotsim.core.Color
 

D

DARK_GRAY - Static variable in class io.jbotsim.core.Color
 
darker() - Method in class io.jbotsim.core.Color
Creates a new Color that is a darker version of this Color.
darkGray - Static variable in class io.jbotsim.core.Color
 
deathRate - Variable in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
debug - Variable in class io.jbotsim.core.DefaultMessageEngine
 
decode(String) - Static method in class io.jbotsim.core.Color
Converts a String to an integer and returns the specified opaque Color.
decreaseSpeed - Static variable in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
 
DEFAULT_AUTOSCALE_CENTER - Static variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Default centering behaviour: true.
DEFAULT_AUTOSCALE_COMMUNICATION_RANGE - Static variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Default communication range scaling behaviour: true.
DEFAULT_AUTOSCALE_MARGIN_RATIO - Static variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Default margin ratio: 0.1.
DEFAULT_AUTOSCALE_SENSING_RANGE - Static variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Default sensing range scaling behaviour: true.
DEFAULT_AVERAGE_DURATION - Static variable in class io.jbotsim.contrib.messaging.AsyncMessageEngine
The default average duration; value: 10.
DEFAULT_COLOR - Static variable in class io.jbotsim.core.Link
 
DEFAULT_COLOR - Static variable in class io.jbotsim.core.Node
 
DEFAULT_COMMUNICATION_RANGE - Static variable in class io.jbotsim.core.Topology
 
DEFAULT_DELAY - Static variable in class io.jbotsim.core.DelayMessageEngine
The default number of round before message delivery; value: 1.
DEFAULT_DIRECTION - Static variable in class io.jbotsim.core.Node
 
DEFAULT_EOL - Static variable in class io.jbotsim.io.format.tikz.TikzTopologySerializer
The default End-Of-Line delimiter.
DEFAULT_HEAD_LENGTH - Static variable in class io.jbotsim.ui.painting.JDirectedLinkPainter
The default length of the arrow-tip: .
DEFAULT_HEAD_OPENING_ANGLE - Static variable in class io.jbotsim.ui.painting.JDirectedLinkPainter
The default opening angle of the arrow-tip: .
DEFAULT_HEIGHT - Static variable in class io.jbotsim.core.Topology
 
DEFAULT_ICON_SIZE - Static variable in class io.jbotsim.core.Node
 
DEFAULT_MARGIN - Static variable in class io.jbotsim.gen.basic.TopologyLayouts
The default margin ratio (value: 0.1).
DEFAULT_MARGIN - Static variable in class io.jbotsim.io.format.dot.DotTopologySerializer
 
DEFAULT_MODE - Static variable in class io.jbotsim.core.Link
 
DEFAULT_NODE_ICON - Static variable in class io.jbotsim.ui.icons.Icons
 
DEFAULT_NODE_MODEL - Static variable in class io.jbotsim.gen.basic.TopologyGenerators
 
DEFAULT_NODE_MODEL_NAME - Static variable in class io.jbotsim.core.Topology
The name under which the default Node model is stored.
DEFAULT_ORIENTATION - Static variable in class io.jbotsim.core.Link
 
DEFAULT_ORIENTATION - Static variable in class io.jbotsim.core.Topology
 
DEFAULT_SCALE - Static variable in class io.jbotsim.io.format.dot.DotTopologySerializer
 
DEFAULT_SCALE_FACTOR - Static variable in class io.jbotsim.io.format.tikz.TikzTopologySerializer
The default scale factor that must be applied to the distance between nodes.
DEFAULT_SENSING_RANGE - Static variable in class io.jbotsim.core.Topology
 
DEFAULT_SHRUNKEN_ARROW_RATIO - Static variable in class io.jbotsim.ui.painting.JDirectedLinkPainter
The default shrunken ratio for the arrow-tip: .
DEFAULT_TYPE - Static variable in class io.jbotsim.contrib.messaging.AsyncMessageEngine
The default delivery queue type; value: AsyncMessageEngine.Type.FIFO.
DEFAULT_VERSION - Static variable in class io.jbotsim.io.format.xml.XMLBuilder
Default version of the XSD schema used to parse JBotsim XML documents.
DEFAULT_WIDTH - Static variable in class io.jbotsim.core.Link
 
DEFAULT_WIDTH - Static variable in class io.jbotsim.core.Topology
 
DefaultClock - Class in io.jbotsim.core
The DefaultClock is JBotSim default implementation of the Clock.
DefaultClock(ClockManager) - Constructor for class io.jbotsim.core.DefaultClock
 
DefaultCommands() - Constructor for class io.jbotsim.core.Topology.DefaultCommands
 
defaultCommandsEnabled - Variable in class io.jbotsim.core.Topology
 
DefaultMessageEngine - Class in io.jbotsim.core
The DefaultMessageEngine is JBotSim's default MessageEngine implementation.
DefaultMessageEngine(Topology) - Constructor for class io.jbotsim.core.DefaultMessageEngine
DELAY_INSTANT - Static variable in class io.jbotsim.core.DelayMessageEngine
The delay value to use for the shortest delivery time possible; value: 1.
delayedMessages - Variable in class io.jbotsim.core.DelayMessageEngine
 
DelayMessageEngine - Class in io.jbotsim.core
The DelayMessageEngine is responsible for the regular transmission of the available Messages from any sender Node of the Topology to their destination.
DelayMessageEngine(Topology) - Constructor for class io.jbotsim.core.DelayMessageEngine
DelayMessageEngine(Topology, int) - Constructor for class io.jbotsim.core.DelayMessageEngine
deliverMessage(Message) - Method in class io.jbotsim.core.DefaultMessageEngine
Delivers the Message to its destination.
deliverMessages(Collection<Message>) - Method in class io.jbotsim.core.DefaultMessageEngine
Delivers the provided Messages to send.
destination - Variable in class io.jbotsim.core.Link
The destination node of this link (if directed), the second endpoint otherwise.
destination - Variable in class io.jbotsim.core.Message
 
destination - Static variable in class io.jbotsim.ui.JNode
 
die() - Method in class io.jbotsim.core.Node
Request the Node to die by the end of the round.
DIGRAPH - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
DIGRAPH - Static variable in class io.jbotsim.io.format.dot.DotParser
 
DIGRAPH() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
dimensionsMap - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
directed - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
disableDefaultCommands() - Method in class io.jbotsim.core.Topology
Disables the set of default commands provided by the Topology when using Topology.getCommands().
disableDrawings() - Method in class io.jbotsim.ui.JTopology
Disables the drawing of links and sensing radius (if any).
disableLinksContinuityChecks() - Method in class io.jbotsim.core.DelayMessageEngine
Disables the intermediate checks on Link existence for each Message.
disableWireless() - Method in class io.jbotsim.core.Node
Disables this node's wireless capabilities.
disableWireless() - Method in class io.jbotsim.core.Topology
Disables this node's wireless capabilities.
distance(Node) - Method in class io.jbotsim.core.Node
Returns the distance between this node and the specified node.
distance(double, double) - Method in class io.jbotsim.core.Node
Returns the distance between this node and the specified 2D location.
distance(Point) - Method in class io.jbotsim.core.Node
Returns the distance between this node and the specified 3D location.
distance(double, double, double) - Method in class io.jbotsim.core.Node
Returns the distance between this node and the specified 3D location.
distance(double, double, double, double) - Static method in class io.jbotsim.core.Point
Computes the distance between two points.
distance(double, double, double) - Method in class io.jbotsim.core.Point
Computes the distance between the current point and the point represented by the provided coordinates.
distance(double, double) - Method in class io.jbotsim.core.Point
Computes the distance between the current point and the point represented by the provided coordinates.
distance(Point) - Method in class io.jbotsim.core.Point
Computes the distance between the current point and provided one.
dividedBy(double) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
dot(Vector3D) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
DOT_FILENAME_EXTENSIONS - Static variable in class io.jbotsim.io.format.dot.DotTopologySerializer
 
DotBaseListener - Class in io.jbotsim.io.format.dot
This class provides an empty implementation of DotListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
DotBaseListener() - Constructor for class io.jbotsim.io.format.dot.DotBaseListener
 
DotBaseVisitor<T> - Class in io.jbotsim.io.format.dot
This class provides an empty implementation of DotVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
DotBaseVisitor() - Constructor for class io.jbotsim.io.format.dot.DotBaseVisitor
 
DotLexer - Class in io.jbotsim.io.format.dot
 
DotLexer(CharStream) - Constructor for class io.jbotsim.io.format.dot.DotLexer
 
DotListener - Interface in io.jbotsim.io.format.dot
This interface defines a complete listener for a parse tree produced by DotParser.
DotParser - Class in io.jbotsim.io.format.dot
 
DotParser(TokenStream) - Constructor for class io.jbotsim.io.format.dot.DotParser
 
DotParser.A_listContext - Class in io.jbotsim.io.format.dot
 
DotParser.Attr_listContext - Class in io.jbotsim.io.format.dot
 
DotParser.Attr_stmtContext - Class in io.jbotsim.io.format.dot
 
DotParser.Edge_stmtContext - Class in io.jbotsim.io.format.dot
 
DotParser.EdgeopContext - Class in io.jbotsim.io.format.dot
 
DotParser.EdgeRHSContext - Class in io.jbotsim.io.format.dot
 
DotParser.GraphContext - Class in io.jbotsim.io.format.dot
 
DotParser.IdContext - Class in io.jbotsim.io.format.dot
 
DotParser.Key_valueContext - Class in io.jbotsim.io.format.dot
 
DotParser.Node_idContext - Class in io.jbotsim.io.format.dot
 
DotParser.Node_setContext - Class in io.jbotsim.io.format.dot
 
DotParser.Node_stmtContext - Class in io.jbotsim.io.format.dot
 
DotParser.PortContext - Class in io.jbotsim.io.format.dot
 
DotParser.Stmt_listContext - Class in io.jbotsim.io.format.dot
 
DotParser.StmtContext - Class in io.jbotsim.io.format.dot
 
DotParser.SubgraphContext - Class in io.jbotsim.io.format.dot
 
DotTopologySerializer - Class in io.jbotsim.io.format.dot
 
DotTopologySerializer() - Constructor for class io.jbotsim.io.format.dot.DotTopologySerializer
 
DotTopologySerializer(boolean) - Constructor for class io.jbotsim.io.format.dot.DotTopologySerializer
 
DotTopologySerializer(double, int, boolean) - Constructor for class io.jbotsim.io.format.dot.DotTopologySerializer
 
DotTopologySerializer(double, int) - Constructor for class io.jbotsim.io.format.dot.DotTopologySerializer
 
DotVisitor<T> - Interface in io.jbotsim.io.format.dot
This interface defines a complete generic visitor for a parse tree produced by DotParser.
DoubleFromString - Static variable in enum io.jbotsim.io.format.xml.XMLKeys
 
drawDelayFIFO(Message) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Draws a delay for the provided Message, in the FIFO case.
drawDelayNONFIFO(Message) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Draws a delay for the provided Message, in the non-FIFO case.
drawDestinationPartIfNeeded(Graphics2D, Link) - Method in class io.jbotsim.ui.painting.JDirectedLinkPainter
 
drawDestinationPartIfNeeded(Graphics2D, Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
 
drawDirectedDestinationEnd(Graphics2D, Point, Point) - Method in class io.jbotsim.ui.painting.JLinkPainter
 
drawLine(Graphics2D, Point, Point) - Method in class io.jbotsim.contrib.geometry.toroidal.ui.ToroidalLinkPainter
 
drawLink(Graphics2D, Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
 
drawNode(Graphics2D, Node) - Method in class io.jbotsim.ui.painting.JNodePainter
 
drawSensingRange(Graphics2D, Node) - Method in class io.jbotsim.ui.painting.JBackgroundPainter
 
drawSize - Variable in class io.jbotsim.ui.JNode
 
DRONE - Static variable in class io.jbotsim.ui.icons.Icons
 

E

EDGE - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
EDGE() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
EDGE - Static variable in class io.jbotsim.io.format.dot.DotParser
 
edge_stmt() - Method in class io.jbotsim.io.format.dot.DotParser
 
edge_stmt() - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
Edge_stmtContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
edgeop() - Method in class io.jbotsim.io.format.dot.DotParser
 
edgeop() - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
edgeop(int) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
EdgeopContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.EdgeopContext
 
edgeRHS() - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
edgeRHS() - Method in class io.jbotsim.io.format.dot.DotParser
 
EdgeRHSContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
ellipse(Topology, double, double) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Modifies the location of the Nodes of provided Topology so that they form a ellipse with a margin on all sides.
ellipse(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Modifies the location of the Nodes of provided Topology so that they form a ellipse.
EMEGPlayer - Class in io.jbotsim.gen.dynamic.graph
 
EMEGPlayer(TVG, Topology, double, double) - Constructor for class io.jbotsim.gen.dynamic.graph.EMEGPlayer
Plays the specified _demo.J_tvg as an EMEG on the specified topology.
EMEGTopology - Class in io.jbotsim.gen.dynamic.graph
 
EMEGTopology(double, double) - Constructor for class io.jbotsim.gen.dynamic.graph.EMEGTopology
 
EMTVGBuilder - Class in io.jbotsim.gen.dynamic.graph
 
EMTVGBuilder() - Constructor for class io.jbotsim.gen.dynamic.graph.EMTVGBuilder
 
enableDefaultCommands() - Method in class io.jbotsim.core.Topology
Enables the set of default commands provided by the Topology when using Topology.getCommands().
enableWireless() - Method in class io.jbotsim.core.Node
Enables this node's wireless capabilities.
enableWireless() - Method in class io.jbotsim.core.Topology
Enables this node's wireless capabilities.
endpoint(int) - Method in class io.jbotsim.core.Link
Returns the requested endpoint node of this link
endpoints() - Method in class io.jbotsim.core.Link
Returns an list containing the two endpoint nodes of this link
enterA_list(DotParser.A_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.a_list().
enterA_list(DotParser.A_listContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.a_list().
enterAttr_list(DotParser.Attr_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.attr_list().
enterAttr_list(DotParser.Attr_listContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.attr_list().
enterAttr_stmt(DotParser.Attr_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.attr_stmt().
enterAttr_stmt(DotParser.Attr_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.attr_stmt().
enterEdge_stmt(DotParser.Edge_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.edge_stmt().
enterEdge_stmt(DotParser.Edge_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.edge_stmt().
enterEdgeop(DotParser.EdgeopContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.edgeop().
enterEdgeop(DotParser.EdgeopContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.edgeop().
enterEdgeRHS(DotParser.EdgeRHSContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.edgeRHS().
enterEdgeRHS(DotParser.EdgeRHSContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.edgeRHS().
enterEveryRule(ParserRuleContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
The default implementation does nothing.
enterGraph(DotParser.GraphContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.graph().
enterGraph(DotParser.GraphContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.graph().
enterId(DotParser.IdContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.id().
enterId(DotParser.IdContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.id().
enterKey_value(DotParser.Key_valueContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.key_value().
enterKey_value(DotParser.Key_valueContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.key_value().
enterNode_id(DotParser.Node_idContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.node_id().
enterNode_id(DotParser.Node_idContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.node_id().
enterNode_set(DotParser.Node_setContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.node_set().
enterNode_set(DotParser.Node_setContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.node_set().
enterNode_stmt(DotParser.Node_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.node_stmt().
enterNode_stmt(DotParser.Node_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.node_stmt().
enterPort(DotParser.PortContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.port().
enterPort(DotParser.PortContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.port().
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.A_listContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeopContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.PortContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
enterRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
enterStmt(DotParser.StmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.stmt().
enterStmt(DotParser.StmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.stmt().
enterStmt_list(DotParser.Stmt_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.stmt_list().
enterStmt_list(DotParser.Stmt_listContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.stmt_list().
enterSubgraph(DotParser.SubgraphContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Enter a parse tree produced by DotParser.subgraph().
enterSubgraph(DotParser.SubgraphContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Enter a parse tree produced by DotParser.subgraph().
EOF() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
eol - Variable in class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
equals(Object) - Method in class io.jbotsim.core.Color
 
equals(Object) - Method in class io.jbotsim.core.Link
Compares the specified object with this link for equality.
equals(Object) - Method in class io.jbotsim.core.Point
 
equals(String) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Checks if this enum is labelled by the given String val.
EXECUTE_A_SINGLE_STEP - Static variable in class io.jbotsim.core.Topology.DefaultCommands
 
executeCommand(String) - Method in class io.jbotsim.core.Topology
Executes a command.
exitA_list(DotParser.A_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.a_list().
exitA_list(DotParser.A_listContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.a_list().
exitAttr_list(DotParser.Attr_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.attr_list().
exitAttr_list(DotParser.Attr_listContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.attr_list().
exitAttr_stmt(DotParser.Attr_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.attr_stmt().
exitAttr_stmt(DotParser.Attr_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.attr_stmt().
exitEdge_stmt(DotParser.Edge_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.edge_stmt().
exitEdge_stmt(DotParser.Edge_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.edge_stmt().
exitEdgeop(DotParser.EdgeopContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.edgeop().
exitEdgeop(DotParser.EdgeopContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.edgeop().
exitEdgeRHS(DotParser.EdgeRHSContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.edgeRHS().
exitEdgeRHS(DotParser.EdgeRHSContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.edgeRHS().
exitEveryRule(ParserRuleContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
The default implementation does nothing.
exitGraph(DotParser.GraphContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.graph().
exitGraph(DotParser.GraphContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.graph().
exitId(DotParser.IdContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.id().
exitId(DotParser.IdContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.id().
exitKey_value(DotParser.Key_valueContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.key_value().
exitKey_value(DotParser.Key_valueContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.key_value().
exitNode_id(DotParser.Node_idContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.node_id().
exitNode_id(DotParser.Node_idContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.node_id().
exitNode_set(DotParser.Node_setContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.node_set().
exitNode_set(DotParser.Node_setContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.node_set().
exitNode_stmt(DotParser.Node_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.node_stmt().
exitNode_stmt(DotParser.Node_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.node_stmt().
exitPort(DotParser.PortContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.port().
exitPort(DotParser.PortContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.port().
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.A_listContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeopContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.PortContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
exitRule(ParseTreeListener) - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
exitStmt(DotParser.StmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.stmt().
exitStmt(DotParser.StmtContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.stmt().
exitStmt_list(DotParser.Stmt_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.stmt_list().
exitStmt_list(DotParser.Stmt_listContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.stmt_list().
exitSubgraph(DotParser.SubgraphContext) - Method in class io.jbotsim.io.format.dot.DotBaseListener
Exit a parse tree produced by DotParser.subgraph().
exitSubgraph(DotParser.SubgraphContext) - Method in interface io.jbotsim.io.format.dot.DotListener
Exit a parse tree produced by DotParser.subgraph().
exportTopology(Topology, double) - Method in class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
exportToString(Topology) - Method in class io.jbotsim.io.format.dot.DotTopologySerializer
 
exportToString(Topology) - Method in class io.jbotsim.io.format.graph6.Graph6TopologySerializer
Encode the graph of topology in Graph6 or Digraph6 file format according to Topology.isDirected().
exportToString(Topology) - Method in class io.jbotsim.io.format.plain.PlainTopologySerializer
 
exportToString(Topology) - Method in class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
exportToString(Topology) - Method in class io.jbotsim.io.format.xml.XMLTopologySerializer
 
exportToString(Topology) - Method in interface io.jbotsim.io.TopologySerializer
Returns a string representation of this topology.

F

FARMER - Static variable in class io.jbotsim.ui.icons.Icons
 
FileAsStream - Interface in io.jbotsim.io
The interface defines methods to be implemented for file access.
FileManager - Class in io.jbotsim.io
The FileManager provides the following methods: FileManager.read(String): reads the content of a file FileManager.write(String, String): writes some data in a file
FileManager() - Constructor for class io.jbotsim.io.FileManager
 
findNodeById(int) - Method in class io.jbotsim.core.Topology
Returns the first node found with this ID.
FIRE - Static variable in class io.jbotsim.ui.icons.Icons
 
FIRST_DIMENSION_INDEX - Static variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
flag - Variable in class io.jbotsim.core.Message
 
FLAG - Static variable in class io.jbotsim.ui.icons.Icons
 

G

generate(Topology) - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
generate(Topology) - Method in class io.jbotsim.gen.basic.generators.LineGenerator
 
generate(Topology) - Method in class io.jbotsim.gen.basic.generators.RandomLocationsGenerator
 
generate(Topology) - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
generate(Topology) - Method in interface io.jbotsim.gen.basic.generators.TopologyGenerator
Modifies the provided Topology according to the implementation.
generateGrid(Topology) - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
generateGrid(Topology, int) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a grid.
generateGrid(Topology, int, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a grid.
generateGrid(Topology, int, int) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a grid.
generateGrid(Topology, int, int, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a grid.
generateKN(Topology, int) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a complete graph (Kn), as a ring.
generateKN(Topology, int, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a complete graph (Kn), as a ring.
generateLine(Topology, int) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates an horizontal line.
generateLine(Topology, int, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates an horizontal line.
generateNodes(Topology, int) - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
generateRing(Topology, int) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a ring.
generateRing(Topology, int, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a ring.
generateRing(Topology, int, boolean) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a ring.
generateRing(Topology, int, boolean, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a ring.
generatesHeaders() - Method in class io.jbotsim.io.format.graph6.Graph6TopologySerializer
 
generateTorus(Topology, int) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a torus.
generateTorus(Topology, int, String) - Static method in class io.jbotsim.gen.basic.TopologyGenerators
Generates a torus.
getAbsoluteHeight(Topology) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the absolute height of the generated pattern (2 dimensions).
getAbsoluteWidth(Topology) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the absolute width of the generated pattern (2 dimensions).
getAbsoluteX(Topology) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns the absolute X coordinate, depending on AbstractGenerator.getX() and AbstractGenerator.isAbsoluteCoords().
getAbsoluteY(Topology) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns the absolute Y coordinate, depending on AbstractGenerator.getY() and AbstractGenerator.isAbsoluteCoords().
getAlpha() - Method in class io.jbotsim.core.Color
Gets the alpha component.
getAngle(Node, Node) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getAngle(Node, Node, Node) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getAngleAbs(Node, Node, Node) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getATN() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getATN() - Method in class io.jbotsim.io.format.dot.DotParser
 
getAverageDuration() - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Gets the desired average number of rounds needed for a message to be delivered to its destination.
getBlue() - Method in class io.jbotsim.core.Color
Gets the blue component in the default sRGB space.
getChannelNames() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getClock() - Method in class io.jbotsim.core.ClockManager
Returns a reference to the Clock.
getClockModel() - Method in class io.jbotsim.core.ClockManager
Returns the clock model currently in use.
getClockModel() - Method in class io.jbotsim.core.Topology
Returns the clock model currently in use.
getColor(String) - Static method in class io.jbotsim.core.Color
Finds a RGB color in the system properties.
getColor(String, Color) - Static method in class io.jbotsim.core.Color
Finds a RGB color in the system properties.
getColor(String, int) - Static method in class io.jbotsim.core.Color
Finds a RGB color in the system properties.
getColor() - Method in class io.jbotsim.core.Link
Returns the color of this link.
getColor() - Method in class io.jbotsim.core.Node
Returns the color of this node.
getColorAt(Integer) - Static method in class io.jbotsim.core.Color
Returns the Color associated to the provided index.
getCommands() - Method in class io.jbotsim.core.Topology
Recompute the current list of commands.
getCommonLinkWith(Node) - Method in class io.jbotsim.core.Node
Returns the undirected link whose endpoints are this node and the specified node, if any such link exists.
getCommunicationRange() - Method in class io.jbotsim.core.Node
Returns the communication range of this node (as a radius).
getCommunicationRange() - Method in class io.jbotsim.core.Topology
Returns the default communication range.
getComponent() - Method in class io.jbotsim.ui.painting.UIComponent
Gets the Object that has been provided upon creation.
getConnectedSet(Node, List<Node>) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
getContent() - Method in class io.jbotsim.core.Message
The content of this message, which may be an object of any class.
getCoverage(Topology) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getCurrentDeliveryDate() - Method in class io.jbotsim.core.DelayMessageEngine
Computes the delivery date (round number) for a Message collected at the start of the current round.
getCurrentMaximumDeliveryDate(Node, Node) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Retrieves the current maximum delivery date for messages between the provided sender and destination.
getDefaultNodeModel() - Method in class io.jbotsim.core.Topology
Returns the default node model, all properties assigned to this virtual node will be given to further nodes created without explicit model name.
getDelay() - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Deprecated. 
getDelay() - Method in class io.jbotsim.core.DelayMessageEngine
Gets the number of round a message should be delayed.
getDelayForMessage(Message) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
getDelayForMessage(Message) - Method in class io.jbotsim.contrib.messaging.RandomDelayMessageEngine
 
getDelayForMessage(Message) - Method in class io.jbotsim.core.DelayMessageEngine
Computes the delay which should be applied to the provided Message.
getDeliveryDateForMessage(Message) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Computes the delivery date (round number) for the provided Message.
getDeliveryDateForMessage(Message) - Method in class io.jbotsim.contrib.messaging.RandomDelayMessageEngine
Computes the delivery date (round number) for the provided Message.
getDestination() - Method in class io.jbotsim.core.Message
The destination of this message.
getDiameter(Topology) - Static method in class io.jbotsim.contrib.algos.Algorithms
Returns the diameter of the topology (largest shortest path between any two nodes)
getDimension(Object) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the size of the generated pattern for the provided dimension.
getDirection() - Method in class io.jbotsim.core.Node
Returns the current direction angle of this node (in radians).
getDocument() - Method in class io.jbotsim.io.format.xml.XMLBuilder
Accessor to the Document handled by this builder.
getDoubleValueFor(Element) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute as an Double.
getFileAccessor() - Method in class io.jbotsim.io.format.xml.XMLTraceBuilder
 
getFileAccessor() - Method in class io.jbotsim.io.format.xml.XMLTraceParser
 
getFileManager() - Method in class io.jbotsim.core.Topology
 
getFlag() - Method in class io.jbotsim.core.Message
The flag of this message.
getGrammarFileName() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getGrammarFileName() - Method in class io.jbotsim.io.format.dot.DotParser
 
getGreen() - Method in class io.jbotsim.core.Color
Gets the green component in the default sRGB space.
getHeight() - Method in class io.jbotsim.core.Topology
Returns the height of this topology.
getHeight() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the height of the generated pattern (2 dimensions).
getHeight() - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
getHeight() - Method in class io.jbotsim.gen.basic.generators.RandomLocationsGenerator
 
getHeight() - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
getIcon() - Method in class io.jbotsim.core.Node
Returns the icon of the this node.
getIconSize() - Method in class io.jbotsim.core.Node
Returns the Node's icon's desired size.
getID() - Method in class io.jbotsim.core.Node
Returns the identifier of this node.
getIndexedColors() - Static method in class io.jbotsim.core.Color
Returns the list of currently indexed Colors.
getInLinkFrom(Node) - Method in class io.jbotsim.core.Node
Returns the directed link whose destination is this node and sender is the specified node, if any such link exists.
getInLinks() - Method in class io.jbotsim.core.Node
Returns a list containing all links for which this node is the destination.
getInNeighbors() - Method in class io.jbotsim.core.Node
Returns a list containing every node serving as source for an adjacent directed link.
getInputStreamForName(String) - Method in interface io.jbotsim.io.FileAsStream
Returns an InputStream object corresponding to the provided file name
getInputStreamForName(String) - Method in class io.jbotsim.io.FileManager
 
getIntegerValueFor(Element) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute as an Integer.
getJTopology() - Method in class io.jbotsim.ui.JViewer
Returns the jtopology attached to this viewer.
getKHopNeighbors(Node, int) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
getKind() - Method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
getLabel() - Method in class io.jbotsim.core.Node
Returns the label of this node.
getLength() - Method in class io.jbotsim.core.Link
Returns the euclidean distance between this link endpoints.
getLink(Node, Node) - Method in class io.jbotsim.core.Topology
Returns the link shared by the specified nodes, if any.
getLink(Node, Node, Link.Orientation) - Method in class io.jbotsim.core.Topology
Returns the link with the specified orientation between the given nodes, if any.
getLink(Node, Node, boolean) - Method in class io.jbotsim.core.Topology
getLinkResolver() - Method in class io.jbotsim.core.Topology
Return the current LinkResolver.
getLinks() - Method in class io.jbotsim.core.Node
Returns a list containing all links adjacent to this node.
getLinks(Link.Orientation) - Method in class io.jbotsim.core.Node
Returns a list containing all adjacent links with the specified orientation.
getLinks(boolean) - Method in class io.jbotsim.core.Node
getLinks() - Method in class io.jbotsim.core.Topology
Returns a list containing all links in this topology with respect to its orientation.
getLinks(Link.Orientation) - Method in class io.jbotsim.core.Topology
Returns a list containing all links with the specified orientation.
getLinks(boolean) - Method in class io.jbotsim.core.Topology
Deprecated.
getLocation() - Method in class io.jbotsim.core.Node
Returns the location of this node.
getMailbox() - Method in class io.jbotsim.core.Node
Returns a list of messages representing the mailbox of this node.
getMessageEngine() - Method in class io.jbotsim.core.Topology
Gets a reference on the message engine of this topology.
getMessagesForCurrentDate() - Method in class io.jbotsim.core.DelayMessageEngine
Retrieves the list of Messages which should be delivered during the current round, from the internal storage.
getMessagesToSend(List<Message>, Collection<Node>) - Method in class io.jbotsim.core.DelayMessageEngine
Constructs the List of Messages that must be sent during this round.
getModelsNames() - Method in class io.jbotsim.core.Topology
Returns the set registered node classes.
getModeNames() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getMST(Topology) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getMST(List<Node>) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getNbConnectedComponents(Topology) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
getNbNodes(Object) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the number of Nodes which should be created in an arbitrary dimension.
getNbNodes() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the number of Nodes which should be created (1-dimension).
getNbNodes() - Method in class io.jbotsim.gen.basic.generators.LineGenerator
 
getNeighbors() - Method in class io.jbotsim.core.Node
Returns a list containing every node located at the opposite endpoint of an adjacent undirected links.
getNewPointFrom(Point) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
getNodeById(String) - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
getNodeClass() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the Class object with which Nodes should be instantiated.
getNodeClass() - Method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
getNodeID() - Method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
getNodeModel(String) - Method in class io.jbotsim.core.Topology
Returns the node class corresponding to that name.
getNodes() - Method in class io.jbotsim.core.Topology
Returns a list containing all the nodes in this topology.
getNodes() - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
getObstacleDetector(Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
 
getObstacles(Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
List the obstacles that are present inside the topology
getOptimalTopologySize(int, double, double) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
getOrientation() - Method in class io.jbotsim.core.Topology
Returns the orientation of the topology.
getOtherEndpoint(Node) - Method in class io.jbotsim.core.Link
Returns the node located at the opposite of the specified node (reference node) on the underlying link.
getOutbox() - Method in class io.jbotsim.core.Node
Returns a list of the messages that this node is about to send.
getOutLinks() - Method in class io.jbotsim.core.Node
Returns a list containing all links for which this node is the sender.
getOutLinkTo(Node) - Method in class io.jbotsim.core.Node
Returns the directed link whose sender is this node and destination is the specified node, if any such link exists.
getOutNeighbors() - Method in class io.jbotsim.core.Node
Returns a list containing every node serving as destination for an adjacent directed link.
getOutputStreamForName(String) - Method in interface io.jbotsim.io.FileAsStream
Returns an OutputStream object corresponding to the provided file name
getOutputStreamForName(String) - Method in class io.jbotsim.io.FileManager
 
getPath(Point, Point, double) - Method in class io.jbotsim.ui.painting.ArrowTipPathGenerator
Computes a path for the tip of an arrow going from provided the source Point to the destination Point.
getProperty(String) - Method in class io.jbotsim.core.Properties
Returns the property stored under the specified key.
getRandomColor(Random) - Static method in class io.jbotsim.core.Color
Returns a Color object generated using 3 calls to the provided Random object.
getRandomColor() - Static method in class io.jbotsim.core.Color
Returns a randomly generated Color object.
getRed() - Method in class io.jbotsim.core.Color
Gets the red component in the default sRGB space.
getRefreshMode() - Method in class io.jbotsim.core.Topology
Returns the current refresh mode (CLOCKBASED or EVENTBASED).
getRelativeCoverage(Topology) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
getRGB() - Method in class io.jbotsim.core.Color
Gets the RGB value representing the color.
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.A_listContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_listContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.EdgeopContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.PortContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
getRuleIndex() - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
getRuleNames() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getRuleNames() - Method in class io.jbotsim.io.format.dot.DotParser
 
getScheduler() - Method in class io.jbotsim.core.Topology
Gets a reference on the scheduler.
getSender() - Method in class io.jbotsim.core.Message
The sender of this message.
getSensedNodes() - Method in class io.jbotsim.core.Node
Returns a list containing every node located within the sensing range The returned list can be modified without side effect.
getSensingRange() - Method in class io.jbotsim.core.Node
Returns the sensing range of this node (as a radius).
getSensingRange() - Method in class io.jbotsim.core.Topology
Returns the default sensing range,
getSerializedATN() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getSerializedATN() - Method in class io.jbotsim.io.format.dot.DotParser
 
getSerializer() - Method in class io.jbotsim.core.Topology
Provides a TopologySerializer.
getSize() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the one-dimension size of the generated pattern.
getSize() - Method in class io.jbotsim.gen.basic.generators.LineGenerator
 
getTikzStringColor(Color) - Static method in class io.jbotsim.io.format.tikz.TikzTopologySerializer
Converts a JBotSim Color into a color string displayable with TikZ.
getTime() - Method in class io.jbotsim.core.Node
Returns the current time (current round number).
getTime() - Method in class io.jbotsim.core.Topology
Returns the current time (current round number)
getTime() - Method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
getTimeUnit() - Method in class io.jbotsim.core.Clock
Returns the time unit of the clock, in milliseconds.
getTimeUnit() - Method in class io.jbotsim.core.ClockManager
Returns the time unit of the clock, in milliseconds.
getTimeUnit() - Method in class io.jbotsim.core.DefaultClock
 
getTimeUnit() - Method in class io.jbotsim.core.Topology
Returns the global duration of a round in this topology (in millisecond).
getTimeUnit() - Method in class io.jbotsim.ui.JClock
 
getTokenNames() - Method in class io.jbotsim.io.format.dot.DotLexer
Deprecated.
getTokenNames() - Method in class io.jbotsim.io.format.dot.DotParser
Deprecated.
getTopology() - Method in class io.jbotsim.core.Link
Returns the parent topology of this link, if any.
getTopology() - Method in class io.jbotsim.core.Node
Returns the parent Topology of this node, if any.
getTopology() - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 
getTopology() - Method in class io.jbotsim.ui.JTopology
 
getTopologySerializerFor(String) - Method in class io.jbotsim.io.format.TopologySerializerFilenameMatcher
Retrieves a TopologySerializer applicable for the provided filename.
getTVLinks() - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
getValueFor(Element) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Returns the value of the attribute labelled by this enum (if it exists).
getValueFor(Element, String) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute for the given Element if the attribute exists.
getValueFor(Element, Integer) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute as an Integer.
getValueFor(Element, Double) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute as an Double.
getValueFor(Element, Boolean) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute as an Boolean.
getValueFor(Element, XMLKeys.Function<String, R>, R) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute converted to R type.
getValueFor(Element, XMLKeys.Function<String, R>) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Gets the value of this attribute converted to R type.
getVersion() - Method in class io.jbotsim.io.format.xml.XMLParser
Gets the version of the interpreted document.
getVocabulary() - Method in class io.jbotsim.io.format.dot.DotLexer
 
getVocabulary() - Method in class io.jbotsim.io.format.dot.DotParser
 
getWidth() - Method in class io.jbotsim.core.Link
Returns the width of this link.
getWidth() - Method in class io.jbotsim.core.Topology
Returns the width of this topology.
getWidth() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the width of the generated pattern (2 dimensions).
getWidth() - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
getWidth() - Method in class io.jbotsim.gen.basic.generators.RandomLocationsGenerator
 
getWidth() - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
getWirelessStatus() - Method in class io.jbotsim.core.Topology
Returns true if wireless links are enabled.
getX() - Method in class io.jbotsim.core.Node
Returns the x-coordinate of this node.
getX() - Method in class io.jbotsim.core.Point
Gets the current abscissa.
getX() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the X coordinate.
getX() - Method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
getY() - Method in class io.jbotsim.core.Node
Returns the y-coordinate of this node.
getY() - Method in class io.jbotsim.core.Point
Gets the current ordinate.
getY() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Gets the Y coordinate.
getY() - Method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
getZ() - Method in class io.jbotsim.core.Node
Returns the z-coordinate of this node.
getZ() - Method in class io.jbotsim.core.Point
Gets the current applicate.
GRAPH - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
GRAPH() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
GRAPH - Static variable in class io.jbotsim.io.format.dot.DotParser
 
graph() - Method in class io.jbotsim.io.format.dot.DotParser
 
GRAPH() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
GRAPH6_FILENAME_EXTENSIONS - Static variable in class io.jbotsim.io.format.graph6.Graph6TopologySerializer
Supported filename extensions.
Graph6Exception - Exception in io.jbotsim.io.format.graph6
Exception raised when an erroneous Graph6 input is parsed.
Graph6TopologySerializer - Class in io.jbotsim.io.format.graph6
This class implements support for Graph6 file format as described in https://users.cecs.anu.edu.au/~bdm/data/formats.txt.
Graph6TopologySerializer() - Constructor for class io.jbotsim.io.format.graph6.Graph6TopologySerializer
 
GraphContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.GraphContext
 
gray - Static variable in class io.jbotsim.core.Color
 
GRAY - Static variable in class io.jbotsim.core.Color
 
green - Static variable in class io.jbotsim.core.Color
 
GREEN - Static variable in class io.jbotsim.core.Color
 
GridGenerator - Class in io.jbotsim.gen.basic.generators
The GridGenerator is a TopologyGenerator used to created grids of Nodes.
GridGenerator(int, int) - Constructor for class io.jbotsim.gen.basic.generators.GridGenerator
Creates a GridGenerator creating a grid with nbRows rows and nbColumns columns.

H

handler - Variable in class io.jbotsim.ui.JTopology
 
hasDirectedLinks() - Method in class io.jbotsim.core.Topology
Deprecated.
hashCode() - Method in class io.jbotsim.core.Color
 
hashCode() - Method in class io.jbotsim.core.Point
 
hasInNeighbor(Node) - Method in class io.jbotsim.core.Node
Indicates whether the provided node is the other endpoint of one of the node's in-coming links.
hasNeighbor(Node) - Method in class io.jbotsim.core.Node
Indicates whether the provided node is to be considered as neighbor of the current node, depending on the Topology's orientation.
hasNeighbors() - Method in class io.jbotsim.core.Node
Indicates whether this node has at least one neighbor (undirected)
hasOutNeighbor(Node) - Method in class io.jbotsim.core.Node
Indicates whether the provided node is the other endpoint of one of the node's out-going links.
hasProperty(String) - Method in class io.jbotsim.core.Properties
Returns the property stored under the specified key.
HTML_STRING - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
HTML_STRING - Static variable in class io.jbotsim.io.format.dot.DotParser
 
HTML_STRING() - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 

I

icon - Variable in class io.jbotsim.ui.JNode
 
Icons - Class in io.jbotsim.ui.icons
The Icons class provides a constant for the path of each icon provided with JBotSim.
Icons() - Constructor for class io.jbotsim.ui.icons.Icons
 
ID - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
id() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
ID - Static variable in class io.jbotsim.io.format.dot.DotParser
 
id() - Method in class io.jbotsim.io.format.dot.DotParser
 
ID() - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
id() - Method in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
id(int) - Method in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
id() - Method in class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
id() - Method in class io.jbotsim.io.format.dot.DotParser.PortContext
 
id(int) - Method in class io.jbotsim.io.format.dot.DotParser.PortContext
 
id() - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
id(int) - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
id() - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
IdContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.IdContext
 
importFromString(Topology, String) - Method in class io.jbotsim.io.format.dot.DotTopologySerializer
 
importFromString(Topology, String) - Method in class io.jbotsim.io.format.graph6.Graph6TopologySerializer
Populate topology with the graph described in data.
importFromString(Topology, String) - Method in class io.jbotsim.io.format.plain.PlainTopologySerializer
 
importFromString(Topology, String) - Method in class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
importFromString(Topology, String) - Method in class io.jbotsim.io.format.xml.XMLTopologySerializer
 
importFromString(Topology, String) - Method in interface io.jbotsim.io.TopologySerializer
Imports nodes and wired links from the specified string representation of a topology.
indexOf(Color) - Static method in class io.jbotsim.core.Color
Searches for the color index associated with the current Color.
init(Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
Constructor of the class, replace the default class used to check the links by the class that checks if an obstacle prohibit a link.
init(Topology, JTopology) - Static method in class io.jbotsim.contrib.obstacle.ui.ObstacleManagerDrawable
 
initializeEdges() - Method in class io.jbotsim.gen.dynamic.graph.EMEGTopology
 
IntegerFromString - Static variable in enum io.jbotsim.io.format.xml.XMLKeys
 
inverseOf(double) - Static method in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
Inverts the acceleration function for the provided value.
io.jbotsim.contrib.algos - package io.jbotsim.contrib.algos
 
io.jbotsim.contrib.geometry.toroidal - package io.jbotsim.contrib.geometry.toroidal
 
io.jbotsim.contrib.geometry.toroidal.ui - package io.jbotsim.contrib.geometry.toroidal.ui
 
io.jbotsim.contrib.messaging - package io.jbotsim.contrib.messaging
 
io.jbotsim.contrib.obstacle.core - package io.jbotsim.contrib.obstacle.core
 
io.jbotsim.contrib.obstacle.shapes2d - package io.jbotsim.contrib.obstacle.shapes2d
 
io.jbotsim.contrib.obstacle.shapes3d - package io.jbotsim.contrib.obstacle.shapes3d
 
io.jbotsim.contrib.obstacle.ui - package io.jbotsim.contrib.obstacle.ui
 
io.jbotsim.core - package io.jbotsim.core
 
io.jbotsim.core.event - package io.jbotsim.core.event
 
io.jbotsim.gen.basic - package io.jbotsim.gen.basic
 
io.jbotsim.gen.basic.generators - package io.jbotsim.gen.basic.generators
 
io.jbotsim.gen.dynamic.graph - package io.jbotsim.gen.dynamic.graph
 
io.jbotsim.gen.dynamic.trace - package io.jbotsim.gen.dynamic.trace
 
io.jbotsim.io - package io.jbotsim.io
 
io.jbotsim.io.format - package io.jbotsim.io.format
 
io.jbotsim.io.format.dot - package io.jbotsim.io.format.dot
 
io.jbotsim.io.format.graph6 - package io.jbotsim.io.format.graph6
 
io.jbotsim.io.format.plain - package io.jbotsim.io.format.plain
 
io.jbotsim.io.format.tikz - package io.jbotsim.io.format.tikz
 
io.jbotsim.io.format.xml - package io.jbotsim.io.format.xml
 
io.jbotsim.ui - package io.jbotsim.ui
 
io.jbotsim.ui.icons - package io.jbotsim.ui.icons
 
io.jbotsim.ui.painting - package io.jbotsim.ui.painting
 
IOUtils - Class in io.jbotsim.io
IOUtils provides static utility functions for IO manipulations.
IOUtils() - Constructor for class io.jbotsim.io.IOUtils
 
isAbsoluteCoords() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns the absolute coordinates state.
isAttributeOf(Element) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Checks if this enum is an attribute of the given Element el.
isBiconnected(Topology) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
isConnected(Topology) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
isConnected(List<Node>) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
isConnectedWithout(Collection<Node>, Node) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
isCritical(Node) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
isDirected() - Method in class io.jbotsim.core.Link
Tests whether the orientation is DIRECTED.
isDirected() - Method in class io.jbotsim.core.Topology
 
isDirected() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns true if the graph should be directed; false otherwise.
isDirected(Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
 
isDying() - Method in class io.jbotsim.core.Node
Returns the dying status of the Node.
isHeardBy(Node, Node) - Method in class io.jbotsim.contrib.geometry.toroidal.ToroidalLinkResolver
 
isHeardBy(Node, Node) - Method in class io.jbotsim.contrib.obstacle.core.ObstacleLinkResolver
 
isHeardBy(Node, Node) - Method in class io.jbotsim.core.LinkResolver
Determines whether a message sent from the first Node could be recieved by the second one.
isHorizontal() - Method in class io.jbotsim.gen.basic.generators.LineGenerator
Returns true if the line should be horizontal, false otherwise.
isInteractive - Variable in class io.jbotsim.ui.JTopology
 
isKHopCritical(Node, int) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
isMessageStillRelevant(Message) - Method in class io.jbotsim.core.DefaultMessageEngine
Tests whether the provided Message is still relevant.
isPresentAtTime(int) - Method in class io.jbotsim.gen.dynamic.graph.TVLink
 
isRetryModeEnabled() - Method in class io.jbotsim.core.Message
The retry mode status.
isRunning() - Method in class io.jbotsim.core.Clock
Indicates whether the clock is currently running or paused.
isRunning() - Method in class io.jbotsim.core.ClockManager
Indicates whether the clock is currently running or paused.
isRunning() - Method in class io.jbotsim.core.DefaultClock
 
isRunning() - Method in class io.jbotsim.core.Topology
Indicates whether the internal clock is currently running or in pause.
isRunning() - Method in class io.jbotsim.ui.JClock
 
isStarted() - Method in class io.jbotsim.core.Topology
 
isWired() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns true if the links should be wired; false otherwise.
isWireless() - Method in class io.jbotsim.core.Link
Tests whether the mode is WIRELESS.
isWirelessEnabled() - Method in class io.jbotsim.core.Node
Indicates whether this node has wireless capabilities enabled.
isWirelessEnabled() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns true if the wireless links should be enabled; false otherwise.

J

JBackgroundPainter - Class in io.jbotsim.ui.painting
The JBackgroundPainter is JBotSim's default BackgroundPainter for AWT.
JBackgroundPainter() - Constructor for class io.jbotsim.ui.painting.JBackgroundPainter
 
JClock - Class in io.jbotsim.ui
The JClock implements the Clock interface, using a Swing Timer.
JClock(ClockManager) - Constructor for class io.jbotsim.ui.JClock
 
JDirectedLinkPainter - Class in io.jbotsim.ui.painting
The JDirectedLinkPainter allows to draw directed links with arrow-tips at the destination end of directed links.
JDirectedLinkPainter() - Constructor for class io.jbotsim.ui.painting.JDirectedLinkPainter
Creates a JDirectedLinkPainter with default values.
JDirectedLinkPainter(double, double, double) - Constructor for class io.jbotsim.ui.painting.JDirectedLinkPainter
JLinkPainter - Class in io.jbotsim.ui.painting
The JLinkPainter is JBotSim's default LinkPainter for AWT.
JLinkPainter() - Constructor for class io.jbotsim.ui.painting.JLinkPainter
 
JNode - Class in io.jbotsim.ui
The JNode element draws a Node, using a Swing JButton.
JNode(Node) - Constructor for class io.jbotsim.ui.JNode
 
JNodePainter - Class in io.jbotsim.ui.painting
The JNodePainter is JBotSim's default NodePainter for AWT.
JNodePainter() - Constructor for class io.jbotsim.ui.painting.JNodePainter
 
jtopo - Variable in class io.jbotsim.ui.JTopology
 
JTopology - Class in io.jbotsim.ui
The JTopology element draws a Topology, using a Swing JPanel.
JTopology(Topology) - Constructor for class io.jbotsim.ui.JTopology
Creates a new JTopology for the specified topology.
jtp - Variable in class io.jbotsim.ui.JViewer
 
JViewer - Class in io.jbotsim.ui
The JViewer includes a central JTopology which will draw the attached topology and offer interaction, as well as contextual commands to add or remove a communication range or sensing range tuners (slider bars), or to pause/resume the system clock.
JViewer(Topology) - Constructor for class io.jbotsim.ui.JViewer
Creates a windowed viewer for the specified topology.
JViewer(Topology, boolean) - Constructor for class io.jbotsim.ui.JViewer
Creates a viewer for the specified topology.
JViewer(JTopology) - Constructor for class io.jbotsim.ui.JViewer
Creates a windowed viewer encapsulating the specified jtopology.
JViewer(JTopology, boolean) - Constructor for class io.jbotsim.ui.JViewer
Creates a viewer encapsulating the specified jtopology.
JViewer.AccelerationFunctionExp - Class in io.jbotsim.ui
The JViewer.AccelerationFunctionExp class implements the following function in [0:JViewer.AccelerationFunctionExp.ZERO_AT]: 5.0 * Math.exp(-x / 15.0) - 3.0 Two methods are provided: JViewer.AccelerationFunctionExp.of(double): computes the function; JViewer.AccelerationFunctionExp.inverseOf(double): computes the inverse of the function.
JViewer.BarType - Enum in io.jbotsim.ui
 

K

key - Variable in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
key_value() - Method in class io.jbotsim.io.format.dot.DotParser.A_listContext
 
key_value(int) - Method in class io.jbotsim.io.format.dot.DotParser.A_listContext
 
key_value() - Method in class io.jbotsim.io.format.dot.DotParser
 
Key_valueContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
KNGenerator - Class in io.jbotsim.gen.basic.generators
The KNGenerator is a TopologyGenerator used to created complete-graphs shaped as rings.
KNGenerator(int) - Constructor for class io.jbotsim.gen.basic.generators.KNGenerator
Creates a KNGenerator creating a complete-graph of nbNodes Nodes.

L

labelsElement(Element) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Checks if this enum labels the given Element.
LAKE - Static variable in class io.jbotsim.ui.icons.Icons
 
LIGHT_GRAY - Static variable in class io.jbotsim.core.Color
 
lightGray - Static variable in class io.jbotsim.core.Color
 
line(Topology, double) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Modifies the location of the Nodes of provided Topology so that they form a line with a margin on all sides.
line(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
Modifies the location of the Nodes of provided Topology so that they form a line.
LINE_COMMENT - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
LINE_COMMENT - Static variable in class io.jbotsim.io.format.dot.DotParser
 
LineGenerator - Class in io.jbotsim.gen.basic.generators
The LineGenerator is a TopologyGenerator used to create horizontal or vertical lines.
LineGenerator(int, int) - Constructor for class io.jbotsim.gen.basic.generators.LineGenerator
Creates a LineGenerator creating an horizontal line of size size with nbNodes Nodes.
LineGenerator(int, int, boolean) - Constructor for class io.jbotsim.gen.basic.generators.LineGenerator
Creates a LineGenerator creating a line of size size with nbNodes Nodes.
LinesObstacle - Class in io.jbotsim.contrib.obstacle.shapes2d
 
LinesObstacle(List<Point>) - Constructor for class io.jbotsim.contrib.obstacle.shapes2d.LinesObstacle
 
LinesObstacleDrawable - Class in io.jbotsim.contrib.obstacle.shapes2d
 
LinesObstacleDrawable(List<Point>) - Constructor for class io.jbotsim.contrib.obstacle.shapes2d.LinesObstacleDrawable
 
Link - Class in io.jbotsim.core
The Link object encodes a communication link between two Nodes.
Link(Node, Node) - Constructor for class io.jbotsim.core.Link
Creates an undirected wired link between the two specified nodes.
Link(Node, Node, Link.Orientation) - Constructor for class io.jbotsim.core.Link
Creates a wired link of the specified orientation between the nodes from and to.
Link(Node, Node, Link.Mode) - Constructor for class io.jbotsim.core.Link
Creates a link with the specified mode between the nodes from and to.
Link(Node, Node, Link.Orientation, Link.Mode) - Constructor for class io.jbotsim.core.Link
Creates a link of the specified orientation with the specified mode between the nodes from and to.
Link.Mode - Enum in io.jbotsim.core
Enumerates the two possible modes of a link: Mode.WIRED and Mode.WIRELESS.
Link.Orientation - Enum in io.jbotsim.core
Enumerates the two possible types of a link: Orientation.DIRECTED and Orientation.UNDIRECTED.
LinkPainter - Interface in io.jbotsim.ui.painting
The LinkPainter is an element which is used to be called while trying to draw a Link.
linkPainters - Variable in class io.jbotsim.ui.JTopology
 
LinkResolver - Class in io.jbotsim.core
The LinkResolver determines whether a Node can send a message to another one.
LinkResolver() - Constructor for class io.jbotsim.core.LinkResolver
 
loadAndStart(String) - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 

M

magenta - Static variable in class io.jbotsim.core.Color
 
MAGENTA - Static variable in class io.jbotsim.core.Color
 
manager - Variable in class io.jbotsim.core.Clock
 
mapElementChildrenOf(Node, XMLParser.ElementVisitor) - Static method in class io.jbotsim.io.format.xml.XMLParser
Applies a visitor function to all children elements of a node.
Message - Class in io.jbotsim.core
The Message object simply encodes a message exchanged by two Nodes.
Message() - Constructor for class io.jbotsim.core.Message
Default constructor with empty content
Message(Object) - Constructor for class io.jbotsim.core.Message
 
Message(Object, String) - Constructor for class io.jbotsim.core.Message
 
Message(Message) - Constructor for class io.jbotsim.core.Message
Copy constructor.
MessageEngine - Interface in io.jbotsim.core
The MessageEngine is responsible for the regular transmission of the available Messages from any sender Node of the Topology to their destination.
MessageListener - Interface in io.jbotsim.core.event
 
mode - Variable in class io.jbotsim.core.Link
The Mode of this link (wired/wireless)
modeNames - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
mouseClicked(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mouseDragged(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mouseEntered(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mouseExited(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mouseMoved(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mousePressed(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mouseReleased(MouseEvent) - Method in class io.jbotsim.ui.JNode
 
mouseWheelMoved(MouseWheelEvent) - Method in class io.jbotsim.ui.JNode
 
move() - Method in class io.jbotsim.core.Node
Translates the location of this node by one unit towards the node's current direction.
move(double) - Method in class io.jbotsim.core.Node
Translates the location of this node by the specified distance towards the node's current direction.
MovementListener - Interface in io.jbotsim.core.event
 
multipliedBy(double) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 

N

nbDates() - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
nbNodesMap - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
newAddNode(int, int, double, double, String) - Static method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
newDeleteNode(int, int) - Static method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
newInstanceOfModel(String) - Method in class io.jbotsim.core.Topology
Create a new instance of this type of node.
newMoveNode(int, int, double, double) - Static method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
newSelectNode(int, int) - Static method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
newStartTopology(int) - Static method in class io.jbotsim.gen.dynamic.trace.TraceEvent
 
noCachingNeeded(List<Message>) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
noCachingNeeded(List<Message>) - Method in class io.jbotsim.contrib.messaging.RandomDelayMessageEngine
 
noCachingNeeded(List<Message>) - Method in class io.jbotsim.core.DelayMessageEngine
Tests whether the provided list of Messages should be cached or not.
Node - Class in io.jbotsim.core
The Node object is one of the main component of JBotSim, since it encodes an element of the graph/network.
Node() - Constructor for class io.jbotsim.core.Node
 
NODE - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
NODE() - Method in class io.jbotsim.io.format.dot.DotParser.Attr_stmtContext
 
NODE - Static variable in class io.jbotsim.io.format.dot.DotParser
 
node - Variable in class io.jbotsim.ui.JNode
 
node_id() - Method in class io.jbotsim.io.format.dot.DotParser
 
node_id() - Method in class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
node_id() - Method in class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
Node_idContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
node_set() - Method in class io.jbotsim.io.format.dot.DotParser.Edge_stmtContext
 
node_set() - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
node_set(int) - Method in class io.jbotsim.io.format.dot.DotParser.EdgeRHSContext
 
node_set() - Method in class io.jbotsim.io.format.dot.DotParser
 
Node_setContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
node_stmt() - Method in class io.jbotsim.io.format.dot.DotParser
 
node_stmt() - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
Node_stmtContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Node_stmtContext
 
nodeClass - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
NodePainter - Interface in io.jbotsim.ui.painting
The NodePainter is an element which is used to be called while trying to draw a Node.
nodePainters - Variable in class io.jbotsim.ui.JTopology
 
norme() - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
notifyLinkAdded(Link) - Method in class io.jbotsim.core.Topology
 
notifyLinkRemoved(Link) - Method in class io.jbotsim.core.Topology
 
notifyMessageDelivered(Message) - Method in class io.jbotsim.core.Topology
 
notifyNodeAdded(Node) - Method in class io.jbotsim.core.Topology
 
notifyNodeMoved() - Method in class io.jbotsim.core.Node
 
notifyNodeRemoved(Node) - Method in class io.jbotsim.core.Topology
 
notifyNodeSelected(Node) - Method in class io.jbotsim.core.Topology
 
NotPerpendicularException - Exception in io.jbotsim.contrib.obstacle.shapes3d
 
NotPerpendicularException() - Constructor for exception io.jbotsim.contrib.obstacle.shapes3d.NotPerpendicularException
 
NUMBER - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
NUMBER() - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
NUMBER - Static variable in class io.jbotsim.io.format.dot.DotParser
 

O

Obstacle - Interface in io.jbotsim.contrib.obstacle.core
Interface for all the obstacles (3D obstacles and 2D obstacles)
ObstacleDetector - Class in io.jbotsim.contrib.obstacle.core
This class is used to check if some obstacle are near of nodes that have say that they want to know it.
ObstacleDetector(Topology) - Constructor for class io.jbotsim.contrib.obstacle.core.ObstacleDetector
Constructor of the class.
ObstacleDrawable - Interface in io.jbotsim.contrib.obstacle.ui
Interface for drawable obstacles (3D obstacles and 2D obstacles)
ObstacleLinkResolver - Class in io.jbotsim.contrib.obstacle.core
This class override the class WLinkCalculator by checking if the given nodes can communicate.
ObstacleLinkResolver(Topology) - Constructor for class io.jbotsim.contrib.obstacle.core.ObstacleLinkResolver
 
ObstacleListener - Interface in io.jbotsim.contrib.obstacle.core
 
ObstacleManager - Class in io.jbotsim.contrib.obstacle.core
Main class of the plugin used to store (or remove) the obstacles and to register (or unregister) the obstacle's listener.
ObstacleManager() - Constructor for class io.jbotsim.contrib.obstacle.core.ObstacleManager
 
ObstacleManagerDrawable - Class in io.jbotsim.contrib.obstacle.ui
Drawable version of the Main class of the plugin (ObstacleManager).
ObstacleManagerDrawable() - Constructor for class io.jbotsim.contrib.obstacle.ui.ObstacleManagerDrawable
 
ObstaclePainter - Class in io.jbotsim.contrib.obstacle.ui
ObstaclePainter is a class used to represent the obstacles on the JViewer and it inherited from JTopology
ObstaclePainter() - Constructor for class io.jbotsim.contrib.obstacle.ui.ObstaclePainter
Build the ObstaclePainter
obstructLink(Node, Node) - Method in interface io.jbotsim.contrib.obstacle.core.Obstacle
This function is automatically call by the obstacleDetector to known if the obstacle obstructs the link between node1 and node2
obstructLink(Node, Node) - Method in class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacle
 
obstructLink(Node, Node) - Method in class io.jbotsim.contrib.obstacle.shapes2d.LinesObstacle
 
obstructLink(Node, Node) - Method in class io.jbotsim.contrib.obstacle.shapes3d.RectangularFacetObstacle
 
of(double) - Static method in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
Computes a value of the acceleration function associated with the provided parameter.
onClock() - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
onClock() - Method in class io.jbotsim.core.ClockManager
 
onClock() - Method in class io.jbotsim.core.DefaultMessageEngine
 
onClock() - Method in class io.jbotsim.core.DelayMessageEngine
 
onClock() - Method in interface io.jbotsim.core.event.ClockListener
Called periodically by the central scheduler.
onClock() - Method in interface io.jbotsim.core.MessageEngine
Method responsible for the delivery of the Messages.
onClock() - Method in class io.jbotsim.core.Node
Override this method to perform some action upon clock pulse.
onClock(Topology, List<ClockListener>) - Method in class io.jbotsim.core.Scheduler
Performs the regular scheduling operations.
onClock() - Method in class io.jbotsim.core.Topology
 
onClock() - Method in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
onClock() - Method in class io.jbotsim.gen.dynamic.graph.TVGPlayer
 
onClock() - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 
onCommand(String) - Method in interface io.jbotsim.core.event.CommandListener
Provides a way to react upon command selection.
onCommand(String) - Method in class io.jbotsim.ui.JViewer
 
onDetectedObstacles(List<Obstacle>) - Method in interface io.jbotsim.contrib.obstacle.core.ObstacleListener
 
onDirectedLinkAdded(Link) - Method in class io.jbotsim.core.Node
Called when an adjacent directed link is added.
onDirectedLinkRemoved(Link) - Method in class io.jbotsim.core.Node
Called when an adjacent directed link is removed.
onLinkAdded(Link) - Method in interface io.jbotsim.core.event.ConnectivityListener
Notifies the underlying listener that a link has been added.
onLinkAdded(Link) - Method in class io.jbotsim.core.Node
Called when an adjacent undirected link is added.
onLinkRemoved(Link) - Method in interface io.jbotsim.core.event.ConnectivityListener
Notifies the underlying listener that a link has been removed.
onLinkRemoved(Link) - Method in class io.jbotsim.core.Node
Called when an adjacent undirected link is removed.
onMessage(Message) - Method in interface io.jbotsim.core.event.MessageListener
Notifies the underlying MessageListener that a message has arrived.
onMessage(Message) - Method in class io.jbotsim.core.Node
Called when this node receives a Message.
onMovement(Node) - Method in class io.jbotsim.contrib.obstacle.core.ObstacleDetector
 
onMovement(Node) - Method in interface io.jbotsim.core.event.MovementListener
Notifies the underlying listener that a node has moved.
onMovement() - Method in class io.jbotsim.core.Node
Override this method to perform some action when the node moves.
onMovement(Node) - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
onNodeAdded(Node) - Method in interface io.jbotsim.core.event.TopologyListener
Notifies the underlying listener that a node has been added to the topology.
onNodeAdded(Node) - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
onNodeRemoved(Node) - Method in interface io.jbotsim.core.event.TopologyListener
Notifies the underlying listener that a node has been removed to the topology.
onNodeRemoved(Node) - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
onPostClock() - Method in class io.jbotsim.core.Node
Override this method to perform some action just after clock pulse.
onPreClock() - Method in class io.jbotsim.core.Node
Override this method to perform some action just before clock pulse.
onPropertyChanged(Properties, String) - Method in interface io.jbotsim.core.event.PropertyListener
Notifies that a property of this object has changed.
onPropertyChanged(Properties, String) - Method in class io.jbotsim.ui.JViewer
 
onReplayTerminated(TracePlayer) - Method in interface io.jbotsim.gen.dynamic.trace.TracePlayer.ReplayTerminatedListener
 
onSelection(Node) - Method in interface io.jbotsim.core.event.SelectionListener
Notifies the underlying listener that a node has selected.
onSelection() - Method in class io.jbotsim.core.Node
Called when this node is selected (e.g. middle click in the UI)
onSelection(Node) - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
onSensingIn(Node) - Method in class io.jbotsim.core.Node
Called when another node is sensed for the first time.
onSensingOut(Node) - Method in class io.jbotsim.core.Node
Called when a sensed node is no more sensed.
onStart() - Method in interface io.jbotsim.core.event.StartListener
Notifies that a restart was requested on this topology.
onStart() - Method in class io.jbotsim.core.Node
Override this method to re-initialise your node (e.g. your variables).
onStart() - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
onStop() - Method in class io.jbotsim.core.Node
This method is called just before the node is removed from the topology.
orange - Static variable in class io.jbotsim.core.Color
 
ORANGE - Static variable in class io.jbotsim.core.Color
 
orderByAngleToReferenceNode(Node, ArrayList<Node>) - Static method in class io.jbotsim.contrib.algos.Algorithms
 
organize(Topology, double, int) - Static method in class io.jbotsim.io.format.dot.DotTopologySerializer
 
orientation - Variable in class io.jbotsim.core.Link
The Orientation of this link (directed/undirected)

P

paint(UIComponent) - Method in class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacleDrawable
 
paint(UIComponent) - Method in class io.jbotsim.contrib.obstacle.shapes2d.LinesObstacleDrawable
 
paint(UIComponent) - Method in class io.jbotsim.contrib.obstacle.shapes3d.RectangularFacetObstacleDrawable
 
paint(UIComponent) - Method in interface io.jbotsim.contrib.obstacle.ui.ObstacleDrawable
This function is automatically call by ObstaclePainter to draw the obstacle
paint(Graphics) - Method in class io.jbotsim.ui.JNode
 
paintBackground(UIComponent, Topology) - Method in class io.jbotsim.contrib.obstacle.ui.ObstaclePainter
The methods is automatically call by the JViewer and draw all the nodes and all the obstacles
paintBackground(UIComponent, Topology) - Method in interface io.jbotsim.ui.painting.BackgroundPainter
Provides a way to draw things on the background.
paintBackground(UIComponent, Topology) - Method in class io.jbotsim.ui.painting.JBackgroundPainter
 
paintComponent(Graphics) - Method in class io.jbotsim.ui.JTopology
Paints this JTopology on the specified graphics (not supposed to be used explicitly).
paintLink(UIComponent, Link) - Method in class io.jbotsim.contrib.geometry.toroidal.ui.ToroidalLinkPainter
 
paintLink(UIComponent, Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
 
paintLink(UIComponent, Link) - Method in interface io.jbotsim.ui.painting.LinkPainter
Paints the Links.
paintNode(UIComponent, Node) - Method in class io.jbotsim.ui.painting.JNodePainter
 
paintNode(UIComponent, Node) - Method in interface io.jbotsim.ui.painting.NodePainter
Provides a way to redefine the drawing of a node.
parse(String, TracePlayer) - Method in interface io.jbotsim.gen.dynamic.trace.TraceFileReader
Parse the content of the file named filename and put it in the provided TracePlayer.
parse(InputStream) - Method in class io.jbotsim.io.format.xml.XMLParser
Load and parses the document from the given input stream.
parse(Document) - Method in class io.jbotsim.io.format.xml.XMLParser
Interprets a JBotSim XML document.
parse(String, TracePlayer) - Method in class io.jbotsim.io.format.xml.XMLTraceParser
Loads and parses the document contained in (@code filename}.
parseFromString(String) - Method in class io.jbotsim.io.format.xml.XMLParser
Loads and parses the document from the given string.
ParserException(Throwable) - Constructor for exception io.jbotsim.io.format.xml.XMLParser.ParserException
 
ParserException(String) - Constructor for exception io.jbotsim.io.format.xml.XMLParser.ParserException
 
parseRootElement(Element) - Method in class io.jbotsim.io.format.xml.XMLParser
Interprets the root element of the document.
parseRootElement(Element) - Method in class io.jbotsim.io.format.xml.XMLTopologyParser
 
parseRootElement(Element) - Method in class io.jbotsim.io.format.xml.XMLTraceParser
 
parseTopologyElement(Element, Topology) - Static method in class io.jbotsim.io.format.xml.XMLTopologyParser
Interprets the root element of a topology and fulfilled the one passed as argument.
parseTraceElement(Element, TracePlayer) - Static method in class io.jbotsim.io.format.xml.XMLTraceParser
Populates the given TracePlayer tracePlayer with the topology and events describes by element.
pause() - Method in class io.jbotsim.core.Clock
Pauses the clock.
pause() - Method in class io.jbotsim.core.ClockManager
Pauses the clock (or increments the pause counter).
pause() - Method in class io.jbotsim.core.DefaultClock
 
pause() - Method in class io.jbotsim.core.Topology
Pauses the clock (or increments the pause counter).
pause() - Method in class io.jbotsim.ui.JClock
 
PAUSE_EXECUTION - Static variable in class io.jbotsim.core.Topology.DefaultCommands
 
period - Variable in class io.jbotsim.gen.dynamic.graph.TVGPlayer
 
pink - Static variable in class io.jbotsim.core.Color
 
PINK - Static variable in class io.jbotsim.core.Color
 
PlainTopologySerializer - Class in io.jbotsim.io.format.plain
 
PlainTopologySerializer() - Constructor for class io.jbotsim.io.format.plain.PlainTopologySerializer
 
PLUS - Static variable in class io.jbotsim.ui.icons.Icons
 
Point - Class in io.jbotsim.core
The Point used by JBotSim.
Point() - Constructor for class io.jbotsim.core.Point
Creates a Point object.
Point(Point) - Constructor for class io.jbotsim.core.Point
Copy constructor.
Point(double, double) - Constructor for class io.jbotsim.core.Point
Creates a Point object with the provided coordinates.
Point(double, double, double) - Constructor for class io.jbotsim.core.Point
Creates a Point object with the provided coordinates.
pointAtMinimumDistance(Node) - Method in interface io.jbotsim.contrib.obstacle.core.Obstacle
This function return the Point on the obstacle which is at the minimum distance from the given node
pointAtMinimumDistance(Node) - Method in class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacle
 
pointAtMinimumDistance(Node) - Method in class io.jbotsim.contrib.obstacle.shapes2d.LinesObstacle
 
pointAtMinimumDistance(Node) - Method in class io.jbotsim.contrib.obstacle.shapes3d.RectangularFacetObstacle
 
points - Variable in class io.jbotsim.contrib.obstacle.shapes2d.LinesObstacle
 
popupRunning - Variable in class io.jbotsim.ui.JTopology
 
port() - Method in class io.jbotsim.io.format.dot.DotParser.Node_idContext
 
port() - Method in class io.jbotsim.io.format.dot.DotParser
 
PortContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.PortContext
 
prepareNewMessagesForCaching(List<Message>) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
prepareNewMessagesForCaching(List<Message>) - Method in class io.jbotsim.contrib.messaging.RandomDelayMessageEngine
 
prepareNewMessagesForCaching(List<Message>) - Method in class io.jbotsim.core.DelayMessageEngine
Transforms the provided List of new Messages for caching into a suitable data structure.
PREPROC - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
PREPROC - Static variable in class io.jbotsim.io.format.dot.DotParser
 
printDirectLinkEnd(Graphics2D, Point, Point, double) - Method in class io.jbotsim.ui.painting.JDirectedLinkPainter
 
produitVectorielWith(Vector3D) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
Properties - Class in io.jbotsim.core
 
Properties() - Constructor for class io.jbotsim.core.Properties
 
properties - Variable in class io.jbotsim.core.Properties
 
PropertyListener - Interface in io.jbotsim.core.event
 

R

r - Variable in class io.jbotsim.contrib.messaging.RandomDelayMessageEngine
 
radius - Variable in class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacle
 
RandomDelayMessageEngine - Class in io.jbotsim.contrib.messaging
The RandomDelayMessageEngine is a random alternative to JBotSim's default MessageEngine.
RandomDelayMessageEngine(Topology, int) - Constructor for class io.jbotsim.contrib.messaging.RandomDelayMessageEngine
Creates a RandomDelayMessageEngine object.
RandomLocationsGenerator - Class in io.jbotsim.gen.basic.generators
The RandomLocationsGenerator is a TopologyGenerator used to create randomly-positioned Nodes.
RandomLocationsGenerator(int) - Constructor for class io.jbotsim.gen.basic.generators.RandomLocationsGenerator
Creates a RandomLocationsGenerator creating nbNodes randomly-positioned Nodes.
read(String) - Method in class io.jbotsim.io.FileManager
Read the content of the file specified by the filename.
read(String) - Method in class io.jbotsim.io.format.xml.XMLIO
Reads an XML document from the file specified by filename.
read(InputStream) - Static method in class io.jbotsim.io.format.xml.XMLIO
Reads an XML document from an stream.
read(Reader) - Static method in class io.jbotsim.io.format.xml.XMLIO
Reads an XML document using a Reader.
read(InputSource) - Static method in class io.jbotsim.io.format.xml.XMLIO
Reads an XML document from a SAX source.
readFromString(String) - Static method in class io.jbotsim.io.format.xml.XMLIO
Reads an XML document from a String.
readInputStreamContentAsString(InputStream) - Static method in class io.jbotsim.io.IOUtils
Reads the content of the provided InputStream object and returns it as a String.
RectangularFacetObstacle - Class in io.jbotsim.contrib.obstacle.shapes3d
 
RectangularFacetObstacle(Point, Point, Point) - Constructor for class io.jbotsim.contrib.obstacle.shapes3d.RectangularFacetObstacle
 
RectangularFacetObstacleDrawable - Class in io.jbotsim.contrib.obstacle.shapes3d
 
RectangularFacetObstacleDrawable(Point, Point, Point) - Constructor for class io.jbotsim.contrib.obstacle.shapes3d.RectangularFacetObstacleDrawable
 
red - Static variable in class io.jbotsim.core.Color
 
RED - Static variable in class io.jbotsim.core.Color
 
removeAllCommands() - Method in class io.jbotsim.core.Topology
Removes all commands from this Topology.
removeBackgroundPainter(BackgroundPainter) - Method in class io.jbotsim.ui.JTopology
 
removeClockListener(ClockListener) - Method in class io.jbotsim.core.ClockManager
Unregisters the specified listener.
removeClockListener(ClockListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified listener.
removeCommand(String) - Method in class io.jbotsim.core.Topology
Removes the specified action command from this Topology.
removeCommandListener(CommandListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified action listener to this Topology.
removeConnectivityListener(ConnectivityListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified connectivity listener according to the orientation of the topology.
removeConnectivityListener(ConnectivityListener, boolean) - Method in class io.jbotsim.core.Topology
removeConnectivityListener(ConnectivityListener, Link.Orientation) - Method in class io.jbotsim.core.Topology
Unregisters the specified connectivity listener from the listeners of the specified orientation.
removeIrrelevantMessages(ListIterator<Message>, Collection<Node>) - Method in class io.jbotsim.core.DefaultMessageEngine
Removes any irrelevant messages from the ListIterator according to the Collection of existing Nodes.
removeIrrelevantMessages(Collection<Node>) - Method in class io.jbotsim.core.DelayMessageEngine
Removes any irrelevant messages from the cached delayed messages, according to the Collection of existing Nodes.
removeLink(Link) - Method in class io.jbotsim.core.Topology
Removes the specified link from this topology.
removeLinkPainter(LinkPainter) - Method in class io.jbotsim.ui.JTopology
 
removeListener(TracePlayer.ReplayTerminatedListener) - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 
removeMessageListener(MessageListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified message listener for this topology.
removeMovementListener(MovementListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified movement listener for this topology.
removeNextMessageIfIrrelevant(ListIterator<Message>, Collection<Node>) - Method in class io.jbotsim.core.DefaultMessageEngine
Removes the next messages from the ListIterator if it is irrelevant according to the Collection of existing Nodes.
removeNode(Node) - Method in class io.jbotsim.core.Topology
Removes the specified node from this topology.
removeNodePainter(NodePainter) - Method in class io.jbotsim.ui.JTopology
 
removeObstacle(Obstacle, Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
Remove the given obstacle from the topology if the obstacle exist in the topology or do nothing
removeObstacleListener(ObstacleListener, Topology) - Static method in class io.jbotsim.contrib.obstacle.core.ObstacleManager
 
removeProperty(String) - Method in class io.jbotsim.core.Properties
Removes the specified property.
removePropertyListener(PropertyListener) - Method in class io.jbotsim.core.Properties
Unregisters the specified property listener for this node.
removeSelectionListener(SelectionListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified selection listener for this topology.
removeSlideBar() - Method in class io.jbotsim.ui.JViewer
Removes the slide bar, if any.
removeStartListener(StartListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified selection listener for this topology.
removeTopologyListener(TopologyListener) - Method in class io.jbotsim.core.Topology
Unregisters the specified topology listener.
requeueIfNeeded(Message, Collection<Node>) - Method in class io.jbotsim.core.DefaultMessageEngine
Re-queues the specified Message if necessary For a Message to be re-queueable, the following criteria must be met: the message's retry mode must be enabled the message's sender must still exist the message's destination must still exist
requeueMessage(Message) - Method in class io.jbotsim.core.DefaultMessageEngine
Re-queues the specified Message in its sender's send queue.
reset() - Method in class io.jbotsim.core.ClockManager
Sets the clock time back to 0.
reset() - Method in class io.jbotsim.core.DefaultMessageEngine
reset() - Method in class io.jbotsim.core.DelayMessageEngine
Resets the DelayMessageEngine.
reset() - Method in interface io.jbotsim.core.MessageEngine
Resets the MessageEngine.
resetTime() - Method in class io.jbotsim.core.Topology
Reset the round number to 0.
restart() - Method in class io.jbotsim.core.Topology
(Re)init the nodes through their onStart() method (and notifies StartListeners as well)
RESTART_NODES - Static variable in class io.jbotsim.core.Topology.DefaultCommands
 
resume() - Method in class io.jbotsim.core.Clock
Resumes the clock if it was paused.
resume() - Method in class io.jbotsim.core.ClockManager
Resumes the clock (or decrements the pause counter).
resume() - Method in class io.jbotsim.core.DefaultClock
 
resume() - Method in class io.jbotsim.core.Topology
Resumes the clock (or decrements the pause counter).
resume() - Method in class io.jbotsim.ui.JClock
 
RESUME_EXECUTION - Static variable in class io.jbotsim.core.Topology.DefaultCommands
 
retryMode - Variable in class io.jbotsim.core.Message
 
RingGenerator - Class in io.jbotsim.gen.basic.generators
The RingGenerator is a TopologyGenerator used to create a ring.
RingGenerator(int) - Constructor for class io.jbotsim.gen.basic.generators.RingGenerator
Creates a RingGenerator creating a ring of nbNodes Nodes.
ROBOT - Static variable in class io.jbotsim.ui.icons.Icons
 
RULE_a_list - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_attr_list - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_attr_stmt - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_edge_stmt - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_edgeop - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_edgeRHS - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_graph - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_id - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_key_value - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_node_id - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_node_set - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_node_stmt - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_port - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_stmt - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_stmt_list - Static variable in class io.jbotsim.io.format.dot.DotParser
 
RULE_subgraph - Static variable in class io.jbotsim.io.format.dot.DotParser
 
ruleNames - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
ruleNames - Static variable in class io.jbotsim.io.format.dot.DotParser
 
run() - Method in class io.jbotsim.core.DefaultClock
 

S

scaleCommunicationRange - Variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Specifies whether the communication range should be scaled.
scaledIcon - Variable in class io.jbotsim.ui.JNode
 
scaleFactor - Variable in class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
scaleMarginRatioX - Variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
The desired minimum scale factor of each margin on the X axis.
scaleMarginRatioY - Variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
The desired minimum scale factor of each margin on the Y axis.
scaleMarginRatioZ - Variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
The desired minimum scale factor of each margin on the Z axis.
scaleSensingRange - Variable in class io.jbotsim.gen.basic.TopologyLayouts.AutoScaleParams
Specifies whether the sensing range should be scaled.
Scheduler - Class in io.jbotsim.core
The Scheduler defines JBotSim's scheduler.
Scheduler() - Constructor for class io.jbotsim.core.Scheduler
 
SECOND_DIMENSION_INDEX - Static variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
SelectionListener - Interface in io.jbotsim.core.event
 
selectNode(Node) - Method in class io.jbotsim.core.Topology
Selects the specified Node in this Topology.
send(Node, Message) - Method in class io.jbotsim.core.Node
Sends a message from this node to the specified destination node.
send(Node, Object) - Method in class io.jbotsim.core.Node
Deprecated.
Please use Node.send(Node, Message) instead.
sendAll(Message) - Method in class io.jbotsim.core.Node
Sends a message to all neighbors.
sendAll(Object) - Method in class io.jbotsim.core.Node
Deprecated.
Please use Node.sendAll(Message) instead.
sender - Variable in class io.jbotsim.core.Message
 
sendRetry(Node, Message) - Method in class io.jbotsim.core.Node
Same method as send(), but retries to send the message later if the link to the destination disappeared during transmission.
sendRetry(Node, Object) - Method in class io.jbotsim.core.Node
Deprecated.
Please use Node.sendRetry(Node, Message) instead.
SENSOR - Static variable in class io.jbotsim.ui.icons.Icons
 
SERVER - Static variable in class io.jbotsim.ui.icons.Icons
 
setAbsoluteCoords(boolean) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the absolute coordinates state.
setAttribute(Element, String) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Sets an attribute labelled by this enum with the given value.
setAttribute(Element, T) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Sets an attribute labelled by this enum.
setAverageDuration(int) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Sets the desired average number of rounds needed for a message to be delivered to its destination.
setClockModel(Class<? extends Clock>) - Method in class io.jbotsim.core.ClockManager
Sets the clock model (to be instantiated automatically).
setClockModel(Class<? extends Clock>) - Method in class io.jbotsim.core.Topology
Sets the clock model (to be instantiated automatically).
setColor(Color) - Method in class io.jbotsim.core.Link
Sets the color of this link
setColor(Color) - Method in class io.jbotsim.core.Node
Sets the color of this node.
setColor(Graphics2D, Topology) - Method in class io.jbotsim.ui.painting.JBackgroundPainter
Sets the proper Color on the provided Graphics2D object, with respect to the provided Topology.
setColor(Graphics2D, Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
Sets the proper Color on the provided Graphics2D object, with respect to the provided Link.
setColor(Graphics2D, Node) - Method in class io.jbotsim.ui.painting.JNodePainter
Sets the proper Color on the provided Graphics2D object, with respect to the provided Node.
setCommunicationRange(double) - Method in class io.jbotsim.core.Node
Activates the wireless capabilities of this node and sets its communication range to the specified radius.
setCommunicationRange(double) - Method in class io.jbotsim.core.Topology
Sets the default communication range.
setDebug(boolean) - Method in class io.jbotsim.core.DefaultMessageEngine
 
setDefaultBackgroundPainter(BackgroundPainter) - Method in class io.jbotsim.ui.JTopology
 
setDefaultLinkPainter(LinkPainter) - Method in class io.jbotsim.ui.JTopology
 
setDefaultNodeModel(Class<? extends Node>) - Method in class io.jbotsim.core.Topology
Sets the default node model to the given node instance.
setDefaultNodePainter(NodePainter) - Method in class io.jbotsim.ui.JTopology
 
setDefaultWidthHeight() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
setDelay(int) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
Deprecated. 
setDelay(int) - Method in class io.jbotsim.core.DelayMessageEngine
Sets the number of round a message should be delayed.
setDimension(Object, double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the size of the generated pattern for an arbitrary dimension.
setDimensions(int, int) - Method in class io.jbotsim.core.Topology
Sets the topology dimensions as indicated.
setDirected(boolean) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the graph direction state.
setDirection(double) - Method in class io.jbotsim.core.Node
Sets the direction angle of this node (in radians).
setDirection(Point) - Method in class io.jbotsim.core.Node
Sets the direction angle of this node using the specified reference point.
setDirection(Point, boolean) - Method in class io.jbotsim.core.Node
Sets the direction angle of this node using the specified reference point.
setFileManager(FileManager) - Method in class io.jbotsim.core.Topology
 
setGenerateHeaders(boolean) - Method in class io.jbotsim.io.format.graph6.Graph6TopologySerializer
 
setHeight(double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the height of the generated pattern (2 dimensions).
setHeight(double) - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
setHeight(double) - Method in class io.jbotsim.gen.basic.generators.RandomLocationsGenerator
 
setHeight(double) - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
setHorizontal(boolean) - Method in class io.jbotsim.gen.basic.generators.LineGenerator
Sets the orientation state of the line.
setIcon(String) - Method in class io.jbotsim.core.Node
Sets the icon of this node.
setIconSize(int) - Method in class io.jbotsim.core.Node
Sets the Node's icon's desired size.
setID(int) - Method in class io.jbotsim.core.Node
Sets the identifier of this node.
setInteractive(boolean) - Method in class io.jbotsim.ui.JTopology
 
setLabel(Object) - Method in class io.jbotsim.core.Node
Sets the label of this node.
setLinkResolver(LinkResolver) - Method in class io.jbotsim.core.Topology
Replaces the default Wireless Link Resolver by a custom one.
setLocation(double, double) - Method in class io.jbotsim.core.Node
Changes this node's location to the specified coordinates.
setLocation(double, double, double) - Method in class io.jbotsim.core.Node
Changes this node's location to the specified coordinates.
setLocation(Point) - Method in class io.jbotsim.core.Node
Changes this node's location to the specified 2D point.
setLocation(Point) - Method in class io.jbotsim.core.Point
Changes the current coordinates to those of the provided Point.
setLocation(double, double) - Method in class io.jbotsim.core.Point
Changes the current coordinates to those the provided ones.
setLocation(double, double, double) - Method in class io.jbotsim.core.Point
Changes the current coordinates to those the provided ones.
setMessageEngine(MessageEngine) - Method in class io.jbotsim.core.Topology
Sets the message engine of this topology.
setNbNodes(Object, int) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the number of Nodes which should be created in an arbitrary dimension.
setNbNodes(int) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the number of Nodes which should be created (1-dimension).
setNbNodes(Object, int) - Method in class io.jbotsim.gen.basic.generators.LineGenerator
 
setNodeClass(Class<? extends Node>) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the Class object with which Nodes should be instantiated.
setNodeModel(String, Class<? extends Node>) - Method in class io.jbotsim.core.Topology
Adds the given node instance as a model.
setNotDefaultAttribute(Element, T, T) - Method in enum io.jbotsim.io.format.xml.XMLKeys
Sets an attribute if its value is not equal to a default one.
setOrientation(Link.Orientation) - Method in class io.jbotsim.core.Topology
Set the orientation of the topology.
setProperty(String, Object) - Method in class io.jbotsim.core.Properties
Stores the specified property (value) under the specified name (key).
setRefreshMode(Topology.RefreshMode) - Method in class io.jbotsim.core.Topology
Sets the updates (links, sensed objects, etc.) to be instantaneous (EVENTBASED), or periodic after each round (CLOCKBASED).
setRenderingHints(Graphics2D, Topology) - Method in class io.jbotsim.ui.painting.JBackgroundPainter
Sets the proper RenderingHints on the provided Graphics2D object, with respect to the provided Topology.
setRenderingHints(Graphics2D, Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
Sets the proper RenderingHints on the provided Graphics2D object, with respect to the provided Link.
setRenderingHints(Graphics2D, Node) - Method in class io.jbotsim.ui.painting.JNodePainter
Sets the proper RenderingHints on the provided Graphics2D object, with respect to the provided Node.
setScheduler(Scheduler) - Method in class io.jbotsim.core.Topology
Sets the scheduler of this topology.
setSensingRange(double) - Method in class io.jbotsim.core.Node
Sets the sensing range of this node to the specified radius.
setSensingRange(double) - Method in class io.jbotsim.core.Topology
Sets the default sensing range.
setSerializer(TopologySerializer) - Method in class io.jbotsim.core.Topology
Sets the new TopologySerializer to use.
setSize(double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the one-direction size of the generated pattern.
setSize(double) - Method in class io.jbotsim.gen.basic.generators.LineGenerator
 
setSize(int, int) - Method in class io.jbotsim.ui.JViewer
Sets the size of the inner jtopology to the specified dimension.
setSpeed(int) - Method in class io.jbotsim.core.DelayMessageEngine
Deprecated.
setStroke(Graphics2D, Topology) - Method in class io.jbotsim.ui.painting.JBackgroundPainter
Sets the proper Stroke on the provided Graphics2D object, with respect to the provided Topology.
setStroke(Graphics2D, Link) - Method in class io.jbotsim.ui.painting.JLinkPainter
Sets the proper Stroke on the provided Graphics2D object, with respect to the provided Link.
setStroke(Graphics2D, Node) - Method in class io.jbotsim.ui.painting.JNodePainter
Sets the proper Stroke on the provided Graphics2D object, with respect to the provided Node.
setTimeUnit(int) - Method in class io.jbotsim.core.Clock
Sets the time unit of the clock to the specified value in millisecond.
setTimeUnit(int) - Method in class io.jbotsim.core.ClockManager
Sets the time unit of the clock to the specified value in millisecond.
setTimeUnit(int) - Method in class io.jbotsim.core.DefaultClock
 
setTimeUnit(int) - Method in class io.jbotsim.core.Topology
Sets the global duration of a round in this topology (in millisecond).
setTimeUnit(int) - Method in class io.jbotsim.ui.JClock
Sets the time unit of the clock to the specified value in millisecond.
setTitle(String) - Method in class io.jbotsim.ui.JViewer
Sets the title of the corresponding window
setTopology(Topology) - Method in class io.jbotsim.core.DefaultMessageEngine
 
setTopology(Topology) - Method in interface io.jbotsim.core.MessageEngine
Sets the Topology to which the MessageEngine refers.
setTopology(Topology) - Method in class io.jbotsim.ui.JTopology
 
setWidth(Integer) - Method in class io.jbotsim.core.Link
Sets the width of this link.
setWidth(double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the width of the generated pattern (2 dimensions).
setWidth(double) - Method in class io.jbotsim.gen.basic.generators.GridGenerator
 
setWidth(double) - Method in class io.jbotsim.gen.basic.generators.RandomLocationsGenerator
 
setWidth(double) - Method in class io.jbotsim.gen.basic.generators.RingGenerator
 
setWired(boolean) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the links' wiring state.
setWirelessEnabled(boolean) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the links' wireless state.
setWirelessStatus(boolean) - Method in class io.jbotsim.core.Node
Set wireless capabilities status
setWirelessStatus(boolean) - Method in class io.jbotsim.core.Topology
Set wireless capabilities status
setX(double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the X coordinate.
setY(double) - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Sets the Y coordinate.
SHEEP - Static variable in class io.jbotsim.ui.icons.Icons
 
shift - Static variable in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
 
shouldCheckLinksContinuity() - Method in class io.jbotsim.core.DelayMessageEngine
Specifies whether a Message should be removed if the corresponding Link disappears at some point during its waiting delay.
shouldCleanDeliveryDates() - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
showDrawings - Variable in class io.jbotsim.ui.JTopology
 
shuffleNodeIds() - Method in class io.jbotsim.core.Topology
Shuffles the IDs of the nodes in this topology.
slideBar - Variable in class io.jbotsim.ui.JViewer
 
slideBarType - Variable in class io.jbotsim.ui.JViewer
 
source - Variable in class io.jbotsim.core.Link
The source node of this link (if directed), the first endpoint otherwise.
splitIntoConnectedSets(List<Node>) - Static method in class io.jbotsim.contrib.algos.Connectivity
 
start() - Method in class io.jbotsim.core.Clock
Starts the clock.
start() - Method in class io.jbotsim.core.ClockManager
Starts the clock (if no model is set, DefaultClock is used).
start() - Method in class io.jbotsim.core.DefaultClock
 
start() - Method in class io.jbotsim.core.Topology
Initializes the clock.
start() - Method in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
start() - Method in class io.jbotsim.gen.dynamic.graph.TVGPlayer
 
start() - Method in class io.jbotsim.gen.dynamic.trace.TracePlayer
 
start() - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
start() - Method in class io.jbotsim.ui.JClock
 
START_EXECUTION - Static variable in class io.jbotsim.core.Topology.DefaultCommands
 
StartListener - Interface in io.jbotsim.core.event
 
stateChanged(ChangeEvent) - Method in class io.jbotsim.ui.JViewer
 
STATION - Static variable in class io.jbotsim.ui.icons.Icons
 
steadyProb - Variable in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
step() - Method in class io.jbotsim.core.Topology
Performs a single round, then switch to pause state.
stmt() - Method in class io.jbotsim.io.format.dot.DotParser
 
stmt() - Method in class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
stmt(int) - Method in class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
stmt_list() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
stmt_list() - Method in class io.jbotsim.io.format.dot.DotParser
 
stmt_list() - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
Stmt_listContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.Stmt_listContext
 
StmtContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.StmtContext
 
stopAndWrite(String) - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
STRICT - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
STRICT() - Method in class io.jbotsim.io.format.dot.DotParser.GraphContext
 
STRICT - Static variable in class io.jbotsim.io.format.dot.DotParser
 
STRING - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
STRING() - Method in class io.jbotsim.io.format.dot.DotParser.IdContext
 
STRING - Static variable in class io.jbotsim.io.format.dot.DotParser
 
SUBGRAPH - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
subgraph() - Method in class io.jbotsim.io.format.dot.DotParser.Node_setContext
 
subgraph() - Method in class io.jbotsim.io.format.dot.DotParser.StmtContext
 
SUBGRAPH - Static variable in class io.jbotsim.io.format.dot.DotParser
 
subgraph() - Method in class io.jbotsim.io.format.dot.DotParser
 
SUBGRAPH() - Method in class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
SubgraphContext(ParserRuleContext, int) - Constructor for class io.jbotsim.io.format.dot.DotParser.SubgraphContext
 
sum(Vector3D) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 

T

T__0 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__0 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__1 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__1 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__2 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__2 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__3 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__3 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__4 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__4 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__5 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__5 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__6 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__6 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__7 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__7 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__8 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__8 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
T__9 - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
T__9 - Static variable in class io.jbotsim.io.format.dot.DotParser
 
TikzTopologySerializer - Class in io.jbotsim.io.format.tikz
The TikzTopologySerializer exports a JBotSim Topology into TikZ format.
TikzTopologySerializer() - Constructor for class io.jbotsim.io.format.tikz.TikzTopologySerializer
Creates TikzTopologySerializer with the default values.
TikzTopologySerializer(String, double) - Constructor for class io.jbotsim.io.format.tikz.TikzTopologySerializer
Creates A TikzTopologySerializer according to the provided parameters.
tokenNames - Static variable in class io.jbotsim.io.format.dot.DotLexer
Deprecated.
Use DotLexer.VOCABULARY instead.
tokenNames - Static variable in class io.jbotsim.io.format.dot.DotParser
Deprecated.
topo - Variable in class io.jbotsim.ui.JTopology
 
topology - Variable in class io.jbotsim.core.DefaultMessageEngine
 
Topology - Class in io.jbotsim.core
The Topology object is the main entry point of JBotSim.
Topology() - Constructor for class io.jbotsim.core.Topology
Creates a topology.
Topology(int, int) - Constructor for class io.jbotsim.core.Topology
Creates a topology of given dimensions.
Topology.DefaultCommands - Class in io.jbotsim.core
 
Topology.RefreshMode - Enum in io.jbotsim.core
 
TopologyBoundaries() - Constructor for class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 
TopologyGenerator - Interface in io.jbotsim.gen.basic.generators
A TopologyGenerator is able to generate a specific structure in an existing Topology object according to some specific characteristics.
TopologyGenerators - Class in io.jbotsim.gen.basic
TopologyGenerators is a convenience class providing methods used to generate different patterns with default values.
TopologyGenerators() - Constructor for class io.jbotsim.gen.basic.TopologyGenerators
 
TopologyLayouts - Class in io.jbotsim.gen.basic
TopologyLayouts offers functions allowing to manipulate the content of a Topology: TopologyLayouts.center(Topology): centers the Nodes of a Topology.
TopologyLayouts() - Constructor for class io.jbotsim.gen.basic.TopologyLayouts
 
TopologyLayouts.AutoScaleParams - Class in io.jbotsim.gen.basic
The TopologyLayouts.AutoScaleParams object is used to configure scaling operations.
TopologyLayouts.TopologyBoundaries - Class in io.jbotsim.gen.basic
The TopologyLayouts represents the boundaries of a topology.
TopologyListener - Interface in io.jbotsim.core.event
 
TopologySerializer - Interface in io.jbotsim.io
Objects implementing TopologySerializer are able to (de)serialize a Topology into a specific String representation.
TopologySerializerFilenameMatcher - Class in io.jbotsim.io.format
A TopologySerializerFilenameMatcher is able to provide a set of TopologySerializer linked to filenames via regular expressions.
TopologySerializerFilenameMatcher() - Constructor for class io.jbotsim.io.format.TopologySerializerFilenameMatcher
 
topologySerializerFilenameMatcher - Variable in class io.jbotsim.ui.JViewer
 
toroidalDistance(Node, Node) - Method in class io.jbotsim.contrib.geometry.toroidal.ToroidalLinkResolver
 
ToroidalLinkPainter - Class in io.jbotsim.contrib.geometry.toroidal.ui
A link painter that draws toroidal link in a toroidal fashion.
ToroidalLinkPainter() - Constructor for class io.jbotsim.contrib.geometry.toroidal.ui.ToroidalLinkPainter
 
ToroidalLinkResolver - Class in io.jbotsim.contrib.geometry.toroidal
A new type of link resolver based on the toroidal distance between nodes.
ToroidalLinkResolver() - Constructor for class io.jbotsim.contrib.geometry.toroidal.ToroidalLinkResolver
 
toroidalPaint(Graphics2D, Topology, Point, Point, boolean, boolean) - Method in class io.jbotsim.contrib.geometry.toroidal.ui.ToroidalLinkPainter
 
TorusGenerator - Class in io.jbotsim.gen.basic.generators
The TorusGenerator is a TopologyGenerator used to generated tori of Nodes.
TorusGenerator(int, int) - Constructor for class io.jbotsim.gen.basic.generators.TorusGenerator
Creates a TorusGenerator creating a torus with nbRows rows and nbColumns columns.
toString() - Method in class io.jbotsim.core.Link
Returns a string representation of this link.
toString() - Method in class io.jbotsim.core.Message
 
toString() - Method in class io.jbotsim.core.Node
Returns a string representation of this node.
toString() - Method in class io.jbotsim.core.Point
 
toString() - Method in class io.jbotsim.core.Topology
 
toString() - Method in class io.jbotsim.gen.dynamic.graph.TVG
 
toString() - Method in class io.jbotsim.gen.dynamic.graph.TVLink
 
tp - Variable in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
tp - Variable in class io.jbotsim.gen.dynamic.graph.TVGPlayer
 
TraceEvent - Class in io.jbotsim.gen.dynamic.trace
 
TraceEvent(int, TraceEvent.EventKind) - Constructor for class io.jbotsim.gen.dynamic.trace.TraceEvent
 
TraceEvent(int, int, TraceEvent.EventKind) - Constructor for class io.jbotsim.gen.dynamic.trace.TraceEvent
 
TraceEvent.EventKind - Enum in io.jbotsim.gen.dynamic.trace
 
TraceFileReader - Interface in io.jbotsim.gen.dynamic.trace
The TraceFileReader is able to parse a file content and put it into a TracePlayer.
TraceFileWriter - Interface in io.jbotsim.gen.dynamic.trace
The TraceFileWriter is store a sequence of TraceEvents and store them in a file.
TracePlayer - Class in io.jbotsim.gen.dynamic.trace
 
TracePlayer(Topology, TraceFileReader) - Constructor for class io.jbotsim.gen.dynamic.trace.TracePlayer
 
TracePlayer.ReplayTerminatedListener - Interface in io.jbotsim.gen.dynamic.trace
 
TraceRecorder - Class in io.jbotsim.gen.dynamic.trace
 
TraceRecorder(Topology, TraceFileWriter) - Constructor for class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
translate(double, double) - Method in class io.jbotsim.core.Node
Translates the location of this node by the specified coordinates.
translate(double, double, double) - Method in class io.jbotsim.core.Node
Translates the location of this node by the specified coordinates.
TRANSPARENT - Static variable in class io.jbotsim.ui.icons.Icons
 
tvg - Variable in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
TVG - Class in io.jbotsim.gen.dynamic.graph
 
TVG() - Constructor for class io.jbotsim.gen.dynamic.graph.TVG
 
TVG(Class) - Constructor for class io.jbotsim.gen.dynamic.graph.TVG
 
tvg - Variable in class io.jbotsim.gen.dynamic.graph.TVGPlayer
 
TVGPlayer - Class in io.jbotsim.gen.dynamic.graph
 
TVGPlayer(TVG, Topology) - Constructor for class io.jbotsim.gen.dynamic.graph.TVGPlayer
Plays the specified time-varying graph on the specified topology.
TVGPlayer(TVG, Topology, Integer) - Constructor for class io.jbotsim.gen.dynamic.graph.TVGPlayer
Plays forever the specified time-varying graph on the specified topology by taking all dates modulo the specified period.
TVGRandomPlayer - Class in io.jbotsim.gen.dynamic.graph
 
TVGRandomPlayer(TVG, Topology) - Constructor for class io.jbotsim.gen.dynamic.graph.TVGRandomPlayer
 
TVGRandomPlayer(TVG, Topology, int) - Constructor for class io.jbotsim.gen.dynamic.graph.TVGRandomPlayer
 
TVGRandomPlayer(TVG, Topology, int, int) - Constructor for class io.jbotsim.gen.dynamic.graph.TVGRandomPlayer
 
TVLink - Class in io.jbotsim.gen.dynamic.graph
 
TVLink(Node, Node) - Constructor for class io.jbotsim.gen.dynamic.graph.TVLink
 
type - Variable in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 

U

UIComponent - Class in io.jbotsim.ui.painting
The UIComponent contains a platform-dependent object to be used for displaying graphical elements.
UIComponent(Object) - Constructor for class io.jbotsim.ui.painting.UIComponent
Creates a UIComponent by wrapping the provided system Object
unsetTopology() - Method in class io.jbotsim.ui.JTopology
 
unShiftedValueAtZero - Static variable in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
 
update() - Method in class io.jbotsim.ui.JNode
 
updateIcon() - Method in class io.jbotsim.ui.JNode
 
updateIconSize() - Method in class io.jbotsim.ui.JNode
 
updateLinks() - Method in class io.jbotsim.gen.dynamic.graph.EMEGPlayer
 
updateLinks() - Method in class io.jbotsim.gen.dynamic.graph.EMEGTopology
 
updateLinks() - Method in class io.jbotsim.gen.dynamic.graph.TVGPlayer
 
updateLinks() - Method in class io.jbotsim.gen.dynamic.graph.TVGRandomPlayer
 

V

value - Variable in class io.jbotsim.io.format.dot.DotParser.Key_valueContext
 
VALUE_AT_ZERO - Static variable in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
The exact value of the function at abscissa 0.
valueOf(String) - Static method in enum io.jbotsim.contrib.messaging.AsyncMessageEngine.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jbotsim.core.Link.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jbotsim.core.Link.Orientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jbotsim.core.Topology.RefreshMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jbotsim.gen.dynamic.trace.TraceEvent.EventKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jbotsim.io.format.xml.XMLKeys
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jbotsim.ui.JViewer.BarType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.jbotsim.contrib.messaging.AsyncMessageEngine.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jbotsim.core.Link.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jbotsim.core.Link.Orientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jbotsim.core.Topology.RefreshMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jbotsim.gen.dynamic.trace.TraceEvent.EventKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jbotsim.io.format.xml.XMLKeys
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jbotsim.ui.JViewer.BarType
Returns an array containing the constants of this enum type, in the order they are declared.
Vector3D - Class in io.jbotsim.contrib.obstacle.shapes3d
 
Vector3D(Point, Point) - Constructor for class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
Vector3D(double, double, double) - Constructor for class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
Vector3D(Vector3D) - Constructor for class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
visitA_list(DotParser.A_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.a_list().
visitA_list(DotParser.A_listContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.a_list().
visitAttr_list(DotParser.Attr_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.attr_list().
visitAttr_list(DotParser.Attr_listContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.attr_list().
visitAttr_stmt(DotParser.Attr_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.attr_stmt().
visitAttr_stmt(DotParser.Attr_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.attr_stmt().
visitEdge_stmt(DotParser.Edge_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.edge_stmt().
visitEdge_stmt(DotParser.Edge_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.edge_stmt().
visitEdgeop(DotParser.EdgeopContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.edgeop().
visitEdgeop(DotParser.EdgeopContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.edgeop().
visitEdgeRHS(DotParser.EdgeRHSContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.edgeRHS().
visitEdgeRHS(DotParser.EdgeRHSContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.edgeRHS().
visitErrorNode(ErrorNode) - Method in class io.jbotsim.io.format.dot.DotBaseListener
The default implementation does nothing.
visitGraph(DotParser.GraphContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.graph().
visitGraph(DotParser.GraphContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.graph().
visitId(DotParser.IdContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.id().
visitId(DotParser.IdContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.id().
visitKey_value(DotParser.Key_valueContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.key_value().
visitKey_value(DotParser.Key_valueContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.key_value().
visitNode_id(DotParser.Node_idContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.node_id().
visitNode_id(DotParser.Node_idContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.node_id().
visitNode_set(DotParser.Node_setContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.node_set().
visitNode_set(DotParser.Node_setContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.node_set().
visitNode_stmt(DotParser.Node_stmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.node_stmt().
visitNode_stmt(DotParser.Node_stmtContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.node_stmt().
visitPort(DotParser.PortContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.port().
visitPort(DotParser.PortContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.port().
visitStmt(DotParser.StmtContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.stmt().
visitStmt(DotParser.StmtContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.stmt().
visitStmt_list(DotParser.Stmt_listContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.stmt_list().
visitStmt_list(DotParser.Stmt_listContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.stmt_list().
visitSubgraph(DotParser.SubgraphContext) - Method in class io.jbotsim.io.format.dot.DotBaseVisitor
Visit a parse tree produced by DotParser.subgraph().
visitSubgraph(DotParser.SubgraphContext) - Method in interface io.jbotsim.io.format.dot.DotVisitor
Visit a parse tree produced by DotParser.subgraph().
visitTerminal(TerminalNode) - Method in class io.jbotsim.io.format.dot.DotBaseListener
The default implementation does nothing.
VOCABULARY - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
VOCABULARY - Static variable in class io.jbotsim.io.format.dot.DotParser
 

W

white - Static variable in class io.jbotsim.core.Color
 
WHITE - Static variable in class io.jbotsim.core.Color
 
window - Variable in class io.jbotsim.ui.JViewer
 
wired - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
wirelessEnabled - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
withDestination(Node) - Method in class io.jbotsim.core.Message
Copy the current message, changing only the destination.
WOLF - Static variable in class io.jbotsim.ui.icons.Icons
 
wrapLocation() - Method in class io.jbotsim.core.Node
Changes this node's location modulo the iconSize of topology.
write(String) - Method in interface io.jbotsim.gen.dynamic.trace.TraceFileWriter
Write the current trace content to the corresponding file
write(String, String) - Method in class io.jbotsim.io.FileManager
Saves the provided data to the given file.
write(String, Document) - Method in class io.jbotsim.io.format.xml.XMLIO
Outputs the given document into the file filename.
write(Writer, Document) - Static method in class io.jbotsim.io.format.xml.XMLIO
Outputs the given document using the given Writer.
write(String) - Method in class io.jbotsim.io.format.xml.XMLTraceBuilder
Outputs the current XML document into the specified file.
writeStringToStream(OutputStream, String) - Static method in class io.jbotsim.io.IOUtils
Writes the provided data in the OutputStream.
writeToString() - Method in class io.jbotsim.io.format.xml.XMLBuilder
Outputs the current XML document into the specified file pointed by the given File descriptor.
writeToString(Document) - Static method in class io.jbotsim.io.format.xml.XMLIO
Outputs the given document into a String.
WS - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
WS - Static variable in class io.jbotsim.io.format.dot.DotParser
 

X

x - Variable in class io.jbotsim.core.Point
 
x - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
xMax - Variable in class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 
xMin - Variable in class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 
XMLBuilder - Class in io.jbotsim.io.format.xml
Base class for ones used to build JBotSim XML document.
XMLBuilder() - Constructor for class io.jbotsim.io.format.xml.XMLBuilder
 
XMLBuilder.BuilderException - Exception in io.jbotsim.io.format.xml
Exception raised whenever an error occurs while a Document is built.
XMLIO - Class in io.jbotsim.io.format.xml
Helper class used for IO operations on JBotSim xml files.
XMLIO(FileAsStream) - Constructor for class io.jbotsim.io.format.xml.XMLIO
 
XMLIO.XMLIOException - Exception in io.jbotsim.io.format.xml
Exception raised when an IO exception occurs or if the underlying XML reader yields an error.
XMLIOException(Throwable) - Constructor for exception io.jbotsim.io.format.xml.XMLIO.XMLIOException
 
XMLIOException(String, Throwable) - Constructor for exception io.jbotsim.io.format.xml.XMLIO.XMLIOException
 
XMLKeys - Enum in io.jbotsim.io.format.xml
This enumeration lists all names of elements and attributes used in JBotSim XML documents.
XMLKeys.Function<IType,RType> - Interface in io.jbotsim.io.format.xml
 
XMLParser - Class in io.jbotsim.io.format.xml
Base class for manipulation of XML documents that store JBotSim objects.
XMLParser(boolean) - Constructor for class io.jbotsim.io.format.xml.XMLParser
 
XMLParser.ElementVisitor - Interface in io.jbotsim.io.format.xml
A visitor class that may raise a XMLParser.ParserException.
XMLParser.ParserException - Exception in io.jbotsim.io.format.xml
Exception raised whenever an error occurs while interpreting the XML document.
XMLTopologyBuilder - Class in io.jbotsim.io.format.xml
Builder for topologies objects.
XMLTopologyBuilder(Topology) - Constructor for class io.jbotsim.io.format.xml.XMLTopologyBuilder
This constructor add to the root element of the document the topology element that stores the topology.
XMLTopologyParser - Class in io.jbotsim.io.format.xml
Interpreter for an XML document that represents a Topology.
XMLTopologyParser(Topology, boolean) - Constructor for class io.jbotsim.io.format.xml.XMLTopologyParser
Construct a new topology parser.
XMLTopologySerializer - Class in io.jbotsim.io.format.xml
 
XMLTopologySerializer(boolean) - Constructor for class io.jbotsim.io.format.xml.XMLTopologySerializer
 
XMLTraceBuilder - Class in io.jbotsim.io.format.xml
Builder used to store recorded executions of a Topology.
XMLTraceBuilder(Topology) - Constructor for class io.jbotsim.io.format.xml.XMLTraceBuilder
This constructor add to the root element of the document the trace element that stores the topology tp and the recorded events.
XMLTraceParser - Class in io.jbotsim.io.format.xml
Interpreter for an XML document that represents a trace of execution of a Topology.
XMLTraceParser(FileAsStream, boolean) - Constructor for class io.jbotsim.io.format.xml.XMLTraceParser
Creates a parser for the given TracePlayer.

Y

y - Variable in class io.jbotsim.core.Point
 
y - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
yellow - Static variable in class io.jbotsim.core.Color
 
YELLOW - Static variable in class io.jbotsim.core.Color
 
yMax - Variable in class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 
yMin - Variable in class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 

Z

z - Variable in class io.jbotsim.core.Point
 
zcoord - Variable in class io.jbotsim.ui.JNode
 
ZERO_AT - Static variable in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
The exact abscissa at which the function reaches 0.
ZERO_AT_APPROX_FOR_DOC - Static variable in class io.jbotsim.ui.JViewer.AccelerationFunctionExp
 
zMax - Variable in class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 
zMin - Variable in class io.jbotsim.gen.basic.TopologyLayouts.TopologyBoundaries
 

_

_ATN - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
_ATN - Static variable in class io.jbotsim.io.format.dot.DotParser
 
_decisionToDFA - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
_decisionToDFA - Static variable in class io.jbotsim.io.format.dot.DotParser
 
_serializedATN - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
_serializedATN - Static variable in class io.jbotsim.io.format.dot.DotParser
 
_sharedContextCache - Static variable in class io.jbotsim.io.format.dot.DotLexer
 
_sharedContextCache - Static variable in class io.jbotsim.io.format.dot.DotParser
 
A B C D E F G H I J K L M N O P R S T U V W X Y Z _ 
Skip navigation links