Package it.unibo.alchemist.model.implementations.linkingrules

Types

Link copied to clipboard
abstract class AbstractLocallyConsistentLinkingRule<T, P : Position<out P>?> : LinkingRule<T, P>
Link copied to clipboard
open class AdaptiveRange<T, P : Position<P>?> : ConnectWithinDistance<T, P>
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 ConditionalClosestN<T, P : Position<P>?> : ClosestN<T, P>
A ClosestN rule that also checks that a Molecule has a specific concentration before allowing the connection.
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
open class ConnectWithinDistance<T, P : Position<P>?> : AbstractLocallyConsistentLinkingRule<T, P>
LinkingRule which connects nodes whose euclidean distance is shorter than a given radius.
Link copied to clipboard
class FullyConnected<T, P : Position<P>> : LinkingRule<T, P>

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

Link copied to clipboard
open class NoLinks<T, P : Position<P>?> : AbstractLocallyConsistentLinkingRule<T, P>
This rule guarantees that no links are created at all.
Link copied to clipboard
class ObstaclesBreakConnection<T, P : Position<P>?, Vector<P>?> : ConnectWithinDistance<T, P>
Similar to ConnectWithinDistance, but if the environment has obstacles, the links are removed.