c

org.nlogo.agent

LinkManagerImpl

class LinkManagerImpl[W <: World] extends LinkManager

Source
LinkManager.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LinkManagerImpl
  2. LinkManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LinkManagerImpl(world: W, linkFactory: LinkFactory[W])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addLink(link: Link): Unit
    Definition Classes
    LinkManagerImplLinkManager
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkBreededCompatibility(unbreeded: Boolean): Boolean
    Definition Classes
    LinkManagerImplLinkManager
  7. def cleanupLink(link: Link): Unit
    Definition Classes
    LinkManagerImplLinkManager
  8. def cleanupTurtle(turtle: Turtle): Unit
    Definition Classes
    LinkManagerImplLinkManager
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  10. def createLink(src: Turtle, dest: Turtle, linkBreed: AgentSet): Link
    Definition Classes
    LinkManagerImplLinkManager
  11. def dummyLink(end1: Turtle, end2: Turtle, breed: AgentSet): DummyLink
    Definition Classes
    LinkManagerImplLinkManager
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def getLink(src: Turtle, dest: Turtle, linkBreed: AgentSet): Option[Link]

    Gets a specific link for the given turtles and link breed.

    Gets a specific link for the given turtles and link breed. Note that unlike the other methods in this class, if world.links is given as the breed, *only* an unbreeded link can be found. Thus, there can only be a single matching link. If the breed is undirected, src and dest are interchangeable.

    Definition Classes
    LinkManagerImplLinkManager
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def inLinks(target: Turtle, linkBreed: AgentSet): Array[Link]
    Definition Classes
    LinkManagerImplLinkManager
  18. def inNeighbors(target: Turtle, linkBreed: AgentSet): Array[Turtle]
    Definition Classes
    LinkManagerImplLinkManager
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isLinkedTo(src: Turtle, dest: Turtle, linkBreed: AgentSet): Boolean
    Definition Classes
    LinkManagerImplLinkManager
  21. def isLinkedWith(src: Turtle, dest: Turtle, linkBreed: AgentSet): Boolean
    Definition Classes
    LinkManagerImplLinkManager
  22. def links(turtle: Turtle, linkSet: AgentSet): Array[Link]
    Definition Classes
    LinkManagerImplLinkManager
  23. def linksTo(src: Turtle, dest: Turtle, linkBreed: AgentSet): Array[Link]

    Gets all links going from src to dest of the given breed.

    Gets all links going from src to dest of the given breed. Thus, directed, outgoing links from src to dest as well as undirected links connecting them will be included. If world.links is given as the breed, *all* such links will be returned, regardless of breed. Note that no linksFrom is provided as you can simply reverse the arguments to this method.

    Definition Classes
    LinkManagerImplLinkManager
  24. def linksWith(src: Turtle, dest: Turtle, linkBreed: AgentSet): Array[Link]

    Gets all links that connect the two turtles with the given link breed.

    Gets all links that connect the two turtles with the given link breed. If world.links is given as the breed, *all* links connecting the two turtles will be returned, regardless of breed. This method ignores the directedness and direction of links. Because link direction is ignored, src and dest are interchangeable.

    Definition Classes
    LinkManagerImplLinkManager
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def neighbors(turtle: Turtle, linkSet: AgentSet): Array[Turtle]
    Definition Classes
    LinkManagerImplLinkManager
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. def otherEnds(turtle: Turtle, links: Array[Link], linkBreed: AgentSet): Array[Turtle]
  30. def outLinks(src: Turtle, linkBreed: AgentSet): Array[Link]
    Definition Classes
    LinkManagerImplLinkManager
  31. def outNeighbors(src: Turtle, linkBreed: AgentSet): Array[Turtle]
    Definition Classes
    LinkManagerImplLinkManager
  32. def removeLink(link: Link): Unit
    Definition Classes
    LinkManagerImplLinkManager
  33. def reset(): Unit
    Definition Classes
    LinkManagerImplLinkManager
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from LinkManager

Inherited from AnyRef

Inherited from Any

Ungrouped