Class

org.nlogo.agent

AgentSet

Related Doc: package agent

Permalink

abstract class AgentSet extends api.AgentSet

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

Abstract Value Members

  1. abstract def add(agent: Agent): Unit

    Permalink
  2. abstract def agent(i: Long): Agent

    Permalink
  3. abstract def contains(agent: Agent): Boolean

    Permalink
  4. abstract def contains(a: api.Agent): Boolean

    Permalink
    Definition Classes
    AgentSet
  5. abstract def count(): Int

    Permalink

    Returns the number of agents in the set.

    Returns the number of agents in the set.

    Definition Classes
    AgentSetAgentSet
  6. abstract def isEmpty(): Boolean

    Permalink
    Definition Classes
    AgentSetAgentSet
  7. abstract def iterator(): Iterator

    Permalink
  8. abstract def randomOne(precomputedCount: Int, random: Int): Agent

    Permalink
  9. abstract def shufflerator(random: MersenneTwisterFast): Iterator

    Permalink
  10. abstract def toArray(): Array[Agent]

    Permalink
  11. abstract def toLogoList(): LogoList

    Permalink

Concrete 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 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
  5. final def asInstanceOf[T0]: T0

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

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. 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
  10. def equals(arg0: Any): Boolean

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

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

    Permalink
  13. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. 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
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. 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
  18. def kind(): AgentKind

    Permalink

    Returns the type of agents in the AgentSet.

    Returns the type of agents in the AgentSet.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. 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
  23. def randomSubset(resultSize: Int, precomputedCount: Int, randomerizer: MersenneTwisterFast): AgentSet

    Permalink
  24. def removableAgents(): Boolean

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

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

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

    Permalink
  29. final def wait(): Unit

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

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

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

Inherited from api.AgentSet

Inherited from AnyRef

Inherited from Any

Ungrouped