org.nlogo.agent

DummyLink

class DummyLink extends Link

Source
DummyLink.scala
Linear Supertypes
Link, Link, Agent, Comparable[Agent], Agent, Observable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DummyLink
  2. Link
  3. Link
  4. Agent
  5. Comparable
  6. Agent
  7. Observable
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DummyLink(world: World, _end1: AnyRef, _end2: AnyRef, breed: AgentSet)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addObserver(arg0: Observer): Unit

    Definition Classes
    Observable
  7. def agentKey(): AnyRef

    Definition Classes
    LinkAgent
  8. def alpha(): Int

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

    Definition Classes
    LinkAgent
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def bothEnds(): AgentSet

    Definition Classes
    Link
  11. def classDisplayName(): String

    Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)

    Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)

    Definition Classes
    LinkAgentAgent
  12. def clearChanged(): Unit

    Attributes
    protected[util]
    Definition Classes
    Observable
  13. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def color(rgb: LogoList): Unit

    Definition Classes
    Link
  15. def color(): AnyRef

    Returns the value of the color variable, a Double or LogoList.

    Returns the value of the color variable, a Double or LogoList.

    Definition Classes
    LinkLink
  16. def colorDouble(boxedColor: Double): Unit

    Definition Classes
    Link
  17. def colorDoubleUnchecked(boxedColor: Double): Unit

    Definition Classes
    Link
  18. def compareTo(a: Agent): Int

    Definition Classes
    LinkAgent → Comparable
  19. def countObservers(): Int

    Definition Classes
    Observable
  20. def deleteObserver(arg0: Observer): Unit

    Definition Classes
    Observable
  21. def deleteObservers(): Unit

    Definition Classes
    Observable
  22. def die(): Unit

    Definition Classes
    Link
  23. def end1(): Turtle

    Returns the first end point of this link.

    Returns the first end point of this link. If the link is directed this is the source turtle if the link is undirected it is the turtle with the lower who number.

    Definition Classes
    LinkLink
  24. def end2(): Turtle

    Returns the second end point of this link.

    Returns the second end point of this link. If the link is directed this is the destination turtle if the link is undirected it is the turtle with the higher who number.

    Definition Classes
    LinkLink
  25. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def getAgentBit(): Int

    Definition Classes
    LinkAgent
  29. def getAgentClass(): Class[Link]

    Definition Classes
    LinkAgent
  30. def getBreed(): AgentSet

    Returns the breed AgentSet associated with this link.

    Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.

    Definition Classes
    LinkLink
  31. def getBreedIndex(): Int

    Returns the index of the breed of this link.

    Returns the index of the breed of this link.

    Definition Classes
    LinkLink
  32. def getBreedVariable(name: String): AnyRef

    Definition Classes
    LinkAgent
  33. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  34. def getLinkBreedVariable(name: String): AnyRef

    Definition Classes
    LinkAgent
  35. def getLinkVariable(vn: Int): AnyRef

    Definition Classes
    LinkAgent
  36. def getLinkVariableDouble(vn: Int): Double

    Definition Classes
    Link
  37. def getObserverVariable(vn: Int): AnyRef

    Definition Classes
    LinkAgent
  38. def getPatchAtOffsets(dx: Double, dy: Double): Patch

    Definition Classes
    LinkAgent
  39. def getPatchVariable(vn: Int): AnyRef

    Definition Classes
    LinkAgent
  40. def getTurtleOrLinkVariable(varName: String): AnyRef

    Definition Classes
    LinkAgent
  41. def getTurtleVariable(vn: Int): AnyRef

    Definition Classes
    LinkAgent
  42. def getVariable(vn: Int): AnyRef

    Returns the value of the variable in the given position of the agent variable array

    Returns the value of the variable in the given position of the agent variable array

    vn

    the index into the agent variable array

    Definition Classes
    LinkAgentAgent
  43. def getVariableCount(): Int

    Definition Classes
    Agent
  44. def hasChanged(): Boolean

    Definition Classes
    Observable
  45. def hasLabel(): Boolean

    Returns true if there is a value in the label variable.

    Returns true if there is a value in the label variable.

    Definition Classes
    LinkLink
  46. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  47. def heading(): Double

    Returns the heading towards end2 from end1.

    Returns the heading towards end2 from end1.

    Definition Classes
    LinkLink
  48. def hidden(hidden: Boolean): Unit

    Definition Classes
    Link
  49. def hidden(): Boolean

    Returns the value of the hidden? variable.

    Returns the value of the hidden? variable.

    Definition Classes
    LinkLink
  50. def id(): Long

    Returns the id number of this agent.

    Returns the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches

    Definition Classes
    AgentAgent
  51. def isDirectedLink(): Boolean

    Returns true if this link is directed.

    Returns true if this link is directed.

    Definition Classes
    LinkLink
  52. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  53. def isPartiallyTransparent(): Boolean

    Definition Classes
    AgentAgent
  54. def isTied(): Boolean

    Definition Classes
    Link
  55. def label(label: Any): Unit

    Definition Classes
    Link
  56. def label(): AnyRef

    Definition Classes
    Link
  57. def labelColor(rgb: LogoList): Unit

    Definition Classes
    Link
  58. def labelColor(labelColor: Double): Unit

    Definition Classes
    Link
  59. def labelColor(): AnyRef

    Returns the value of the label-color variable.

    Returns the value of the label-color variable.

    Definition Classes
    LinkLink
  60. def labelString(): String

    Returns the value of the label variable.

    Returns the value of the label variable.

    Definition Classes
    LinkLink
  61. def lineThickness(value: Double): Unit

    Definition Classes
    Link
  62. def lineThickness(): Double

    Returns the value of the thinkness variable.

    Returns the value of the thinkness variable.

    Definition Classes
    LinkLink
  63. def linkDestinationSize(): Double

    Returns the size of end2.

    Returns the size of end2.

    Definition Classes
    LinkLink
  64. def midpointX(): Double

    Returns the x-coordinate of the midpoint of this link taking wrapping in account.

    Returns the x-coordinate of the midpoint of this link taking wrapping in account.

    Definition Classes
    LinkLink
  65. def midpointY(): Double

    Returns the y-coordinate of the midpoint of this link taking wrapping in account.

    Returns the y-coordinate of the midpoint of this link taking wrapping in account.

    Definition Classes
    LinkLink
  66. def mode(mode: String): Unit

    Definition Classes
    Link
  67. def mode(): String

    Definition Classes
    Link
  68. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  69. final def notify(): Unit

    Definition Classes
    AnyRef
  70. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  71. def notifyObservers(arg0: Any): Unit

    Definition Classes
    Observable
  72. def notifyObservers(): Unit

    Definition Classes
    Observable
  73. def setBreed(breed: AgentSet): Unit

    Definition Classes
    Link
  74. def setBreedVariable(vn: Int, value: Double): Unit

    Definition Classes
    Link
  75. def setBreedVariable(name: String, value: Any): Unit

    Definition Classes
    LinkAgent
  76. def setChanged(): Unit

    Attributes
    protected[util]
    Definition Classes
    Observable
  77. def setLinkBreedVariable(name: String, value: Any): Unit

    Definition Classes
    LinkAgent
  78. def setLinkVariable(vn: Int, value: Any): Unit

    Definition Classes
    LinkAgent
  79. def setLinkVariable(vn: Int, value: Double): Unit

    Definition Classes
    LinkAgent
  80. def setObserverVariable(vn: Int, value: Any): Unit

    Definition Classes
    LinkAgent
  81. def setPatchVariable(vn: Int, value: Double): Unit

    Definition Classes
    LinkAgent
  82. def setPatchVariable(vn: Int, value: Any): Unit

    Definition Classes
    LinkAgent
  83. def setTurtleOrLinkVariable(varName: String, value: Any): Unit

    Definition Classes
    LinkAgent
  84. def setTurtleVariable(vn: Int, value: Double): Unit

    Definition Classes
    LinkAgent
  85. def setTurtleVariable(vn: Int, value: Any): Unit

    Definition Classes
    LinkAgent
  86. def setVariable(vn: Int, value: Any): Unit

    Sets the variable in the position vn of the agent variable array to value

    Sets the variable in the position vn of the agent variable array to value

    vn

    the index into the agent variable array

    value

    the new value for the variable

    Definition Classes
    LinkAgentAgent
    Exceptions thrown
    LogoExceptionAgentException

    If value is the wrong type for the given variable or if you try to change variables that cannot be changed

  87. def shape(shape: String): Unit

    Definition Classes
    Link
  88. def shape(): String

    Returns the name of the current shape, empty string in the case of patches.

    Returns the name of the current shape, empty string in the case of patches.

    Definition Classes
    LinkAgent
  89. def size(): Double

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    LinkAgent
  90. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  91. def toString(): String

    Definition Classes
    DummyLinkLink → AnyRef → Any
  92. def untie(): Unit

    Definition Classes
    Link
  93. def variableConstraint(vn: Int, con: ValueConstraint): Unit

    Definition Classes
    Agent
  94. def variableConstraint(vn: Int): ValueConstraint

    Definition Classes
    Agent
  95. def variableName(vn: Int): String

    Definition Classes
    LinkAgent
  96. def variables(): Array[AnyRef]

    Returns raw array of all agent variables.

    Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

    Definition Classes
    AgentAgent
  97. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  98. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  99. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  100. def world(): World

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
    AgentAgent
  101. def x1(): Double

    Returns the x-coordinate of end1.

    Returns the x-coordinate of end1.

    Definition Classes
    LinkLink
  102. def x2(): Double

    Returns the x-coordinate of end2.

    Returns the x-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

    Definition Classes
    LinkLink
  103. def y1(): Double

    Returns the y-coordinate of end1.

    Returns the y-coordinate of end1.

    Definition Classes
    LinkLink
  104. def y2(): Double

    Returns the y-coordinate of end2.

    Returns the y-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

    Definition Classes
    LinkLink

Inherited from Link

Inherited from Link

Inherited from Agent

Inherited from Comparable[Agent]

Inherited from Agent

Inherited from Observable

Inherited from AnyRef

Inherited from Any