Class

org.nlogo.agent

ArrayAgentSet

Related Doc: package agent

Permalink

final class ArrayAgentSet extends AgentSet

Source
ArrayAgentSet.java
Linear Supertypes
AgentSet, api.AgentSet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayAgentSet
  2. AgentSet
  3. AgentSet
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArrayAgentSet(type: AgentKind, agents: Array[Agent], printName: String)

    Permalink
  2. new ArrayAgentSet(type: AgentKind, agents: Array[Agent])

    Permalink
  3. new ArrayAgentSet(type: AgentKind, initialCapacity: Int, removableAgents: Boolean)

    Permalink

Type Members

  1. class Iterator extends AgentSet.Iterator

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(agent: Agent): Unit

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  5. def agent(i: Long): Agent

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  6. def agents(): Iterable[api.Agent]

    Permalink

    Returns an iterable that cn be used to iterate through the agents in this set.

    Returns an iterable that cn be used to iterate through the agents in this set.

    Definition Classes
    AgentSetAgentSet
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clearDirected(): Unit

    Permalink
    Definition Classes
    AgentSet
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(agent: Agent): Boolean

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  11. def contains(agent: api.Agent): Boolean

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  12. def count(): Int

    Permalink

    Returns the number of agents in the set.

    Returns the number of agents in the set.

    Definition Classes
    ArrayAgentSetAgentSetAgentSet
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equalAgentSets(otherSet: api.AgentSet): Boolean

    Permalink

    Reports true if this AgentSet and the given AgentSet have the exact same agents

    Reports true if this AgentSet and the given AgentSet have the exact same agents

    Definition Classes
    AgentSetAgentSet
  15. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAgentBit(): Byte

    Permalink
    Definition Classes
    AgentSet
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def isDirected(): Boolean

    Permalink

    Reports true if this is the breed agentset for a directed link breed

    Reports true if this is the breed agentset for a directed link breed

    Definition Classes
    AgentSetAgentSet
  21. def isEmpty(): Boolean

    Permalink
    Definition Classes
    ArrayAgentSetAgentSetAgentSet
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isUndirected(): Boolean

    Permalink

    Reports true if this is the breed agentset for an undirected link breed

    Reports true if this is the breed agentset for an undirected link breed

    Definition Classes
    AgentSetAgentSet
  24. def iterator(): AgentSet.Iterator

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  25. def kind(): AgentKind

    Permalink

    Returns the type of agents in the AgentSet.

    Returns the type of agents in the AgentSet.

    Definition Classes
    AgentSetAgentSet
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def printName(): String

    Permalink

    Returns the name of the AgentSet, for all turtles, patches, or links returns its type, for breeds returns the breed name for all other sets returns an empty string

    Returns the name of the AgentSet, for all turtles, patches, or links returns its type, for breeds returns the breed name for all other sets returns an empty string

    Definition Classes
    AgentSetAgentSet
  30. def randomOne(precomputedCount: Int, random: Int): Agent

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  31. def randomSubset(resultSize: Int, precomputedCount: Int, randomerizer: MersenneTwisterFast): AgentSet

    Permalink
    Definition Classes
    AgentSet
  32. def removableAgents(): Boolean

    Permalink
    Definition Classes
    AgentSetAgentSet
  33. def setDirected(directed: Boolean): Unit

    Permalink
    Definition Classes
    AgentSet
  34. def shufflerator(random: MersenneTwisterFast): AgentSet.Iterator

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toArray(): Array[Agent]

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  37. def toLogoList(): LogoList

    Permalink
    Definition Classes
    ArrayAgentSetAgentSet
  38. def toString(): String

    Permalink
    Definition Classes
    ArrayAgentSet → AnyRef → Any
  39. def type(): Class[_ <: Agent]

    Permalink
    Definition Classes
    AgentSet
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AgentSet

Inherited from api.AgentSet

Inherited from AnyRef

Inherited from Any

Ungrouped