Class CombinedLinkingRule

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

    
    public final class CombinedLinkingRule<T extends Object, P extends Position<P>>
     implements LinkingRule<T, P>
                        

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final List<LinkingRule<T, P>> subRules
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<LinkingRule<T, P>> getSubRules()
      SimpleNeighborhood<T, P> computeNeighborhood(Node<T> center, Environment<T, P> environment)
      Boolean isLocallyConsistent()
      • Methods inherited from class java.lang.Object

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