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

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(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
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.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
 
AsyncMessageEngine - Class in io.jbotsim.contrib.messaging
 
AsyncMessageEngine(double, AsyncMessageEngine.Type) - Constructor for class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
AsyncMessageEngine.Type - Enum in io.jbotsim.contrib.messaging
 
average - 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
 
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

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
 
CHERRY - Static variable in class io.jbotsim.ui.icons.Icons
 
circle(Topology, double) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
circle(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
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.
clearMessages() - Method in class io.jbotsim.core.Topology
Removes all the ongoing messages in this 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.MessageEngine
 
Color - Class in io.jbotsim.core
* Original code AWT
Color(int, int, int, int) - Constructor for class io.jbotsim.core.Color
 
Color(int, int, int) - Constructor for class io.jbotsim.core.Color
 
Color(int) - Constructor for class io.jbotsim.core.Color
 
Color(int, boolean) - Constructor for class io.jbotsim.core.Color
 
Color(Color) - Constructor for class io.jbotsim.core.Color
 
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
 
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
 
computeClockSpeed(double, double) - Static method in class io.jbotsim.ui.JViewer
 
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.
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
 
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.MessageEngine
 
decode(String) - Static method in class io.jbotsim.core.Color
 
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_DIRECTION - Static variable in class io.jbotsim.core.Node
 
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
 
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_SENSING_RANGE - Static variable in class io.jbotsim.core.Topology
 
DEFAULT_TYPE - Static variable in class io.jbotsim.core.Link
 
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
 
delay - Variable in class io.jbotsim.contrib.messaging.DelayMessageEngine
 
DelayMessageEngine - Class in io.jbotsim.contrib.messaging
 
DelayMessageEngine(int) - Constructor for class io.jbotsim.contrib.messaging.DelayMessageEngine
 
DelayMessageEngine(boolean, int) - Constructor for class io.jbotsim.contrib.messaging.DelayMessageEngine
 
delays - Variable in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
delays - Variable in class io.jbotsim.contrib.messaging.DelayMessageEngine
 
deliverMessage(Message) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
deliverMessage(Message) - Method in class io.jbotsim.contrib.messaging.DelayMessageEngine
 
deliverMessage(Message) - Method in class io.jbotsim.core.MessageEngine
 
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.
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).
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
 
distance(double, double, double) - Method in class io.jbotsim.core.Point
 
distance(double, double) - Method in class io.jbotsim.core.Point
 
distance(Point) - Method in class io.jbotsim.core.Point
 
dividedBy(double) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
dot(Vector3D) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 
DotTopologySerializer - Class in io.jbotsim.io.format.dot
 
DotTopologySerializer() - Constructor for class io.jbotsim.io.format.dot.DotTopologySerializer
 
DotTopologySerializer(double, int) - Constructor for class io.jbotsim.io.format.dot.DotTopologySerializer
 
DoubleFromString - Static variable in enum io.jbotsim.io.format.xml.XMLKeys
 
drawDelay(Message) - Method in class io.jbotsim.contrib.messaging.AsyncMessageEngine
 
drawLine(Graphics2D, Point, Point) - Method in class io.jbotsim.contrib.geometry.toroidal.ui.ToroidalLinkPainter
 
drawSize - Variable in class io.jbotsim.ui.JNode
 
DRONE - Static variable in class io.jbotsim.ui.icons.Icons
 

E

ellipse(Topology, double, double) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
ellipse(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
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
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.
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.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.
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
 
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
 
getBlue() - Method in class io.jbotsim.core.Color
 
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
 
getColor(String, Color) - Static method in class io.jbotsim.core.Color
 
getColor(String, int) - Static method in class io.jbotsim.core.Color
 
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
 
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.
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.
getGreen() - Method in class io.jbotsim.core.Color
 
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
 
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 undirected link shared the specified nodes, if any.
getLink(Node, Node, boolean) - Method in class io.jbotsim.core.Topology
Returns the link of the specified type between the specified nodes, if any.
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 undirected links adjacent to this node.
getLinks(boolean) - Method in class io.jbotsim.core.Node
Returns a list containing all adjacent links of the specified type.
getLinks() - Method in class io.jbotsim.core.Topology
Returns a list containing all undirected links in this topology.
getLinks(boolean) - Method in class io.jbotsim.core.Topology
Returns a list containing all links of the specified type in this topology.
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.
getModelsNames() - Method in class io.jbotsim.core.Topology
Returns the set registered node classes.
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
 
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
 
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
 
getRed() - Method in class io.jbotsim.core.Color
 
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
 
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,
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
 
getStringColor(Color) - Static method in class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
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
 
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.
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
 
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
 
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
 
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
Returns true if this topology has at least one directed link.
hashCode() - Method in class io.jbotsim.core.Color
 
hashCode() - Method in class io.jbotsim.core.Point
 
hasNeighbors() - Method in class io.jbotsim.core.Node
Indicates whether this node has at least one neighbor (undirected)
hasProperty(String) - Method in class io.jbotsim.core.Properties
Returns the property stored under the specified key.

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
 
importFromString(Topology, String) - Method in class io.jbotsim.io.format.dot.DotTopologySerializer
 
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.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 type is DIRECTED.
isDirected() - Method in class io.jbotsim.gen.basic.generators.AbstractGenerator
Returns true if the graph should be directed; false otherwise.
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
 
isPresentAtTime(int) - Method in class io.jbotsim.gen.dynamic.graph.TVLink
 
isRandom - Variable in class io.jbotsim.contrib.messaging.DelayMessageEngine
 
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
 
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
 
JLinkPainter - Class in io.jbotsim.ui.painting
 
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
 
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]: * Math.exp(-x / ) - 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

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
 
line(Topology) - Static method in class io.jbotsim.gen.basic.TopologyLayouts
 
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.Type) - Constructor for class io.jbotsim.core.Link
Creates a wired link of the specified type 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.Type, Link.Mode) - Constructor for class io.jbotsim.core.Link
Creates a link of the specified type 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.Type - Enum in io.jbotsim.core
Enumerates the two possible types of a link: Type.DIRECTED and Type.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 encode 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 - Class in io.jbotsim.core
The MessageEngine is responsible for regularly (it is a ClockListener) transmitting available Messages from any sender Node of the Topology to their destination.
MessageEngine() - Constructor for class io.jbotsim.core.MessageEngine
 
MessageListener - Interface in io.jbotsim.core.event
 
mode - Variable in class io.jbotsim.core.Link
The Mode of this link (wired/wireless)
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
 
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 - Variable in class io.jbotsim.ui.JNode
 
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
 
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
 

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.contrib.messaging.DelayMessageEngine
 
onClock() - Method in class io.jbotsim.core.ClockManager
 
onClock() - Method in interface io.jbotsim.core.event.ClockListener
Called periodically by the central scheduler.
onClock() - Method in class io.jbotsim.core.MessageEngine
 
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
 

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
 
Point - Class in io.jbotsim.core
The Point used by JBotSim.
Point() - Constructor for class io.jbotsim.core.Point
 
Point(Point) - Constructor for class io.jbotsim.core.Point
 
Point(double, double) - Constructor for class io.jbotsim.core.Point
 
Point(double, double, double) - Constructor for class io.jbotsim.core.Point
 
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
 
processMessages(ArrayList<Message>) - Method in class io.jbotsim.core.MessageEngine
 
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.AsyncMessageEngine
 
r - Variable in class io.jbotsim.contrib.messaging.DelayMessageEngine
 
radius - Variable in class io.jbotsim.contrib.obstacle.shapes2d.CircleObstacle
 
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 from the 'undirected' listeners.
removeConnectivityListener(ConnectivityListener, boolean) - Method in class io.jbotsim.core.Topology
Unregisters the specified connectivity listener from the listeners of the specified type.
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.
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.
reset() - Method in class io.jbotsim.core.ClockManager
Sets the clock time to 0.
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
 
run() - Method in class io.jbotsim.core.DefaultClock
 

S

scaledIcon - Variable in class io.jbotsim.ui.JNode
 
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
 
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.
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.
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.MessageEngine
 
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
 
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
 
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
 
setLocation(double, double) - Method in class io.jbotsim.core.Point
 
setLocation(double, double, double) - Method in class io.jbotsim.core.Point
 
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.
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).
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.MessageEngine
 
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.MessageEngine
 
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
 
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.
stopAndWrite(String) - Method in class io.jbotsim.gen.dynamic.trace.TraceRecorder
 
sum(Vector3D) - Method in class io.jbotsim.contrib.obstacle.shapes3d.Vector3D
 

T

testColorValueRange(int, int, int, int) - Method in class io.jbotsim.core.Color
 
testColorValueRange(float, float, float, float) - Method in class io.jbotsim.core.Color
 
TikzTopologySerializer - Class in io.jbotsim.io.format.tikz
Tikz export for objects of type Topology in JBotSim.
TikzTopologySerializer() - Constructor for class io.jbotsim.io.format.tikz.TikzTopologySerializer
 
topo - Variable in class io.jbotsim.ui.JTopology
 
topology - Variable in class io.jbotsim.core.MessageEngine
 
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
 
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() - Constructor for class io.jbotsim.gen.basic.TopologyLayouts
 
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.
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
 
type - Variable in class io.jbotsim.core.Link
The Type of this link (directed/undirected)

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
 
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_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.Type
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.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.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
 

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.

X

x - Variable in class io.jbotsim.core.Point
 
x - Variable in class io.jbotsim.gen.basic.generators.AbstractGenerator
 
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
 

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
 
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