NetLogo 6.2.2 - org.nlogo.agent.IndexedAgentSet
Keywords: NetLogo 6.2.2 org.nlogo.agent.IndexedAgentSet

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package agent
  Definition Classes
    nlogo
- AbstractExporter
- Agent
- Agent3D
- AgentBit
- AgentColors
- AgentIterator
- AgentManagement
- AgentParserCreator
- AgentSet
- AgentSetBuilder
- AllStoredValues
- ArrayAgentSet
- BooleanConstraint
- Box
- BreedShapes
- ChooserConstraint
- CompilationManagement
- ConstantSliderConstraint
- Constraints
- CoreWorld
- DimensionManagement
- Directedness
- Drawing3D
- DrawingLine3D
- DummyLink
- DynamicSliderConstraint
- Gamma
- GrossWorldState
- HeadingSmoother
- HorizCylinder
- ImportPatchColors
- Importer
- Importer3D
- ImporterJ
- InRadiusOrCone
- InRadiusOrCone3D
- InRadiusSimple
- IndexedAgentSet
- InputBoxConstraint
- Layouts
- Link
- Link3D
- LinkFactory
- LinkManagement
- LinkManager
- LinkManagerImpl
- LinkStamp3D
- LiteralAgentParser
- Neighbors
- NumericConstraint
- Observer
- Observer3D
- ObserverManagement
- OrientatableObserver
- OutputObject
- Patch
- Patch3D
- PatchException
- Protractor
- Protractor3D
- Realloc
- RootsTable
- Rotations3D
- SliderConstraint
- TickCounter
- TieManager
- TieManager3D
- Topology
- Topology3D
- Torus
- Torus3D
- Trail
- TreeAgentSet
- TrigTables
- Turtle
- Turtle2D
- Turtle3D
- TurtleManagement
- TurtleStamp3D
- VertCylinder
- WatcherManagement
- World
- World2D
- World3D
- WorldKernel
- XBlocks
- XWraps
- YBlocks
- YWraps

c

org.nlogo.agent

# IndexedAgentSet 

###

#### abstract class IndexedAgentSet extends AgentSet

Source
  IndexedAgentSet.scala

Linear Supertypes
AgentSet, api.AgentSet, AnyRef, Any
Known Subclasses
ArrayAgentSet
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. IndexedAgentSet
2. AgentSet
3. AgentSet
4. AnyRef
5. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new IndexedAgentSet(kind: AgentKind, printName: String)

### Abstract Value Members

1.  abstract def checkCount(checkValue: Int, check: (Int, Int) ⇒ Boolean): Boolean
   Definition Classes
     AgentSet
2.  abstract def contains(a: api.Agent): Boolean
   Definition Classes
     AgentSet
3.  abstract def containsSameAgents(otherSet: api.AgentSet): Boolean
   Definition Classes
     AgentSet
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 getByIndex(index: Int): Agent
6.  abstract def isEmpty: Boolean
   Definition Classes
     AgentSet
7.  abstract def iterator: AgentIterator
   Definition Classes
     AgentSet
8.  abstract def randomOne(precomputedCount: Int, random: Int): Agent
   Definition Classes
     AgentSet
9.  abstract def randomSubsetGeneral(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): Array[Agent]
   Definition Classes
     AgentSet
10.  abstract def randomTwo(precomputedCount: Int, smallRandom: Int, bigRandom: Int): Array[Agent]
    Definition Classes
      AgentSet
11.  abstract def shufflerator(rng: MersenneTwisterFast): AgentIterator
    Definition Classes
      AgentSet
12.  abstract def toLogoList: LogoList
    Definition Classes
      AgentSet

### 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
   Definition Classes
     AgentSet
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
     AgentSet → AgentSet
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def clearDirected(): Unit
   Definition Classes
     AgentSet
8.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
9.  var directed: Directedness
   Definition Classes
     AgentSet
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
      AgentSet → AgentSet
12.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
13.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
14.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
15.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  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
17.  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
      AgentSet → AgentSet
18.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
19.  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
      AgentSet → AgentSet
20.  val kind: AgentKind

    Returns the type of agents in the AgentSet.

    Returns the type of agents in the AgentSet.

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

### Inherited from AgentSet

### Inherited from api.AgentSet

### Inherited from AnyRef

### Inherited from Any

### Ungrouped