trait LinkManager extends AnyRef

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

Abstract Value Members

  1. abstract def addLink(link: Link): Unit
  2. abstract def checkBreededCompatibility(unbreeded: Boolean): Boolean
  3. abstract def cleanupLink(link: Link): Unit
  4. abstract def cleanupTurtle(turtle: Turtle): Unit
  5. abstract def createLink(src: Turtle, dest: Turtle, linkBreed: AgentSet): Link
  6. abstract def dummyLink(end1: Turtle, end2: Turtle, breed: AgentSet): DummyLink
  7. abstract 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.

  8. abstract def inLinks(target: Turtle, linkBreed: AgentSet): Array[Link]
  9. abstract def inNeighbors(target: Turtle, linkBreed: AgentSet): Array[Turtle]
  10. abstract def isLinkedTo(src: Turtle, dest: Turtle, linkBreed: AgentSet): Boolean
  11. abstract def isLinkedWith(src: Turtle, dest: Turtle, linkBreed: AgentSet): Boolean
  12. abstract def links(target: Turtle, linkSet: AgentSet): Array[Link]
  13. abstract 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.

  14. abstract 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.

  15. abstract def neighbors(target: Turtle, linkSet: AgentSet): Array[Turtle]
  16. abstract def outLinks(src: Turtle, linkBreed: AgentSet): Array[Link]
  17. abstract def outNeighbors(src: Turtle, linkBreed: AgentSet): Array[Turtle]
  18. abstract def removeLink(link: Link): Unit
  19. abstract def reset(): Unit

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. 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 AnyRef

Inherited from Any

Ungrouped