Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
This linking rule dynamically searches for the best radius for each device, in such a way that it connects to a certain number of devices.
Link copied to clipboard
open class ClosestN<T, P : Position<P>?> : LinkingRule<T, P>
Non local-consistent rule that connect the closest N nodes together.
Link copied to clipboard
class CombinedLinkingRule<T, P : Position<P>>(val subRules: List<LinkingRule<T, P>>) : LinkingRule<T, P>

A meta-rule that combines multiple subRules. If any mandates a link, such link is created (union of all links).

Link copied to clipboard
A ClosestN rule that also checks that a Molecule has a specific concentration before allowing the connection.
Link copied to clipboard
Connects two nodes if, throwing a beam from one to the other, there exists at least one path entirely inside the beam that connects the two nodes.
Link copied to clipboard
class ConnectToAccessPoint<T, P : Position<P>>(radius: Double, val accessPointId: Molecule) : ConnectWithinDistance<T, P>
Link copied to clipboard
class ConnectViaAccessPoint<T, P : Position<P>>(radius: Double, val accessPointId: Molecule) : ConnectWithinDistance<T, P>
Link copied to clipboard
LinkingRule which connects nodes whose euclidean distance is shorter than a given radius.
Link copied to clipboard

This rule connects each and every node to each and every other.

Link copied to clipboard
This rule guarantees that no links are created at all.
Link copied to clipboard
Similar to ConnectWithinDistance, but if the environment has obstacles, the links are removed.
Link copied to clipboard
class OffsetGraphStreamLinkingRule<T, P : Position<P>>(val offset: Int, val graph: Graph) : LinkingRule<T, P>

A LinkingRule that statically connects nodes as they were configured by GraphStream. An offset is used to determine the id of the environment's nodes when compared to the one of the provided graph.