c

org.nlogo.agent

TreeAgentSet

class TreeAgentSet extends AgentSet

Source
TreeAgentSet.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeAgentSet
  2. AgentSet
  3. AgentSet
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeAgentSet(kind: AgentKind, printName: String)

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. def add(agent: Agent): Unit

    It is the caller's responsibility not to add an agent that is already in the set.

  5. val agentBit: Byte
    Definition Classes
    AgentSet
  6. val agents: Iterable[api.Agent]

    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
    TreeAgentSetAgentSetAgentSet
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def checkCount(checkValue: Int, check: (Int, Int) ⇒ Boolean): Boolean
    Definition Classes
    TreeAgentSetAgentSet
  9. def clear(): Unit
  10. def clearDirected(): Unit
    Definition Classes
    AgentSet
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  12. def contains(agent: api.Agent): Boolean
    Definition Classes
    TreeAgentSetAgentSet
  13. def containsSameAgents(otherSet: api.AgentSet): Boolean
    Definition Classes
    TreeAgentSetAgentSet
  14. def count: Int

    Returns the number of agents in the set.

    Returns the number of agents in the set.

    Definition Classes
    TreeAgentSetAgentSet
  15. var directed: Directedness
    Definition Classes
    AgentSet
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equalAgentSets(otherSet: api.AgentSet): Boolean

    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
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def getAgent(id: AnyRef): Agent
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. def isBreedSet: Boolean

    returns

    True if this is a special agentset, such as world.turtle, world.links, world.patches, or a breed.

    Definition Classes
    AgentSet
  23. def isDirected: Boolean

    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
  24. def isEmpty: Boolean
    Definition Classes
    TreeAgentSetAgentSet
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isUndirected: Boolean

    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
  27. def iterator: AgentIterator
    Definition Classes
    TreeAgentSetAgentSet
  28. val kind: AgentKind

    Returns the type of agents in the AgentSet.

    Returns the type of agents in the AgentSet.

    Definition Classes
    AgentSetAgentSet
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. val printName: 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

    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
  33. def randomOne(precomputedCount: Int, random: Int): Agent
    Definition Classes
    TreeAgentSetAgentSet
  34. def randomSubset(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): AgentSet
    Definition Classes
    AgentSet
  35. def randomSubsetGeneral(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): Array[Agent]
    Definition Classes
    TreeAgentSetAgentSet
  36. def randomTwo(precomputedCount: Int, smallRandom: Int, bigRandom: Int): Array[Agent]
    Definition Classes
    TreeAgentSetAgentSet
  37. def remove(key: AnyRef): Unit
  38. def setDirected(directed: Boolean): Unit
    Definition Classes
    AgentSet
  39. def shufflerator(rng: MersenneTwisterFast): AgentIterator
    Definition Classes
    TreeAgentSetAgentSet
  40. val simpleChangeEventPublisher: SimpleChangeEventPublisher
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toLogoList: LogoList
    Definition Classes
    TreeAgentSetAgentSet
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  46. 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 AgentSet

Inherited from api.AgentSet

Inherited from AnyRef

Inherited from Any

Ungrouped