Class ConnectionBeam

  • All Implemented Interfaces:
    it.unibo.alchemist.model.LinkingRule , java.io.Serializable

    
    public final class ConnectionBeam<T>
    extends ConnectWithinDistance<T, P>
                        

    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. This rule is ideal for environments with obstacles, where the user wants some tolerance in connection breaking.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionBeam(double radius, double beamSize)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Neighborhood<T> computeNeighborhood(Node<T> center, Environment<T, Euclidean2DPosition> environment)
      • Methods inherited from class it.unibo.alchemist.model.linkingrules.AbstractLocallyConsistentLinkingRule

        isLocallyConsistent, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait