abstract class AgentSet extends api.AgentSet

Source
AgentSet.scala
Linear Supertypes
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

Instance Constructors

  1. new AgentSet(kind: AgentKind, printName: String, directed: Directedness = Directedness.Undetermined)

Abstract Value Members

  1. abstract def checkCount(checkValue: Int, check: (Int, Int) ⇒ Boolean): Boolean
  2. abstract def contains(a: api.Agent): Boolean
    Definition Classes
    AgentSet
  3. abstract def containsSameAgents(otherSet: api.AgentSet): Boolean
  4. abstract def count: Int

    Returns the number of agents in the set.

    Returns the number of agents in the set.

    Definition Classes
    AgentSet
  5. abstract def isEmpty: Boolean
    Definition Classes
    AgentSet
  6. abstract def iterator: AgentIterator
  7. abstract def randomOne(precomputedCount: Int, random: Int): Agent
  8. abstract def randomSubsetGeneral(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): Array[Agent]
  9. abstract def randomTwo(precomputedCount: Int, smallRandom: Int, bigRandom: Int): Array[Agent]
  10. abstract def shufflerator(rng: MersenneTwisterFast): AgentIterator
  11. abstract def toLogoList: LogoList

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. val agentBit: Byte
  5. def 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
    AgentSetAgentSet
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearDirected(): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  9. var directed: Directedness
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. 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
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def isBreedSet: Boolean

    returns

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

  16. 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
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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
  19. val kind: AgentKind

    Returns the type of agents in the AgentSet.

    Returns the type of agents in the AgentSet.

    Definition Classes
    AgentSetAgentSet
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. 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
  24. def randomSubset(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): AgentSet
  25. def setDirected(directed: Boolean): Unit
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. 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 api.AgentSet

Inherited from AnyRef

Inherited from Any

Ungrouped