NetLogo 6.2.2 - org.nlogo.agent.LinkManager
Keywords: NetLogo 6.2.2 org.nlogo.agent.LinkManager

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package agent
  Definition Classes
    nlogo
- AbstractExporter
- Agent
- Agent3D
- AgentBit
- AgentColors
- AgentIterator
- AgentManagement
- AgentParserCreator
- AgentSet
- AgentSetBuilder
- AllStoredValues
- ArrayAgentSet
- BooleanConstraint
- Box
- BreedShapes
- ChooserConstraint
- CompilationManagement
- ConstantSliderConstraint
- Constraints
- CoreWorld
- DimensionManagement
- Directedness
- Drawing3D
- DrawingLine3D
- DummyLink
- DynamicSliderConstraint
- Gamma
- GrossWorldState
- HeadingSmoother
- HorizCylinder
- ImportPatchColors
- Importer
- Importer3D
- ImporterJ
- InRadiusOrCone
- InRadiusOrCone3D
- InRadiusSimple
- IndexedAgentSet
- InputBoxConstraint
- Layouts
- Link
- Link3D
- LinkFactory
- LinkManagement
- LinkManager
- LinkManagerImpl
- LinkStamp3D
- LiteralAgentParser
- Neighbors
- NumericConstraint
- Observer
- Observer3D
- ObserverManagement
- OrientatableObserver
- OutputObject
- Patch
- Patch3D
- PatchException
- Protractor
- Protractor3D
- Realloc
- RootsTable
- Rotations3D
- SliderConstraint
- TickCounter
- TieManager
- TieManager3D
- Topology
- Topology3D
- Torus
- Torus3D
- Trail
- TreeAgentSet
- TrigTables
- Turtle
- Turtle2D
- Turtle3D
- TurtleManagement
- TurtleStamp3D
- VertCylinder
- WatcherManagement
- World
- World2D
- World3D
- WorldKernel
- XBlocks
- XWraps
- YBlocks
- YWraps

t

org.nlogo.agent

# LinkManager 

###
Companion object LinkManager

#### trait LinkManager extends AnyRef

Source
  LinkManager.scala

Linear Supertypes
AnyRef, Any
Known Subclasses
LinkManagerImpl
 
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 links(target: Turtle, linkSet: AgentSet): Array[Link]
11.  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.

12.  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.

13.  abstract def neighbors(target: Turtle, linkSet: AgentSet): Array[Turtle]
14.  abstract def outLinks(src: Turtle, linkBreed: AgentSet): Array[Link]
15.  abstract def outNeighbors(src: Turtle, linkBreed: AgentSet): Array[Turtle]
16.  abstract def removeLink(link: Link): Unit
17.  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()
6.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
7.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
8.  def finalize(): Unit
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
9.  final def getClass(): Class[_]
   Definition Classes
     AnyRef → Any
   Annotations
     @native()
10.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
12.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
13.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
14.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
15.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
16.  def toString(): String
    Definition Classes
      AnyRef → Any
17.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
18.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
19.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()

### Inherited from AnyRef

### Inherited from Any

### Ungrouped