class ArrayAgentSet extends IndexedAgentSet
- Source
- ArrayAgentSet.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArrayAgentSet
- IndexedAgentSet
- AgentSet
- AgentSet
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
val
agentBit: Byte
- Definition Classes
- AgentSet
-
def
agents: Iterable[api.Agent]
Returns an iterable that cn be used to iterate through the agents in this set.
-
def
clearDirected(): Unit
- Definition Classes
- AgentSet
-
def
contains(agent: api.Agent): Boolean
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
containsSameAgents(otherSet: api.AgentSet): Boolean
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
count: Int
Returns the number of agents in the set.
Returns the number of agents in the set.
- Definition Classes
- ArrayAgentSet → AgentSet
-
var
directed: Directedness
- Definition Classes
- AgentSet
-
def
equalAgentSets(otherSet: api.AgentSet): Boolean
Reports true if this AgentSet and the given AgentSet have the exact same agents
-
def
getByIndex(index: Int): Agent
- Definition Classes
- ArrayAgentSet → IndexedAgentSet
-
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
-
def
isDirected: Boolean
Reports true if this is the breed agentset for a directed link breed
-
def
isEmpty: Boolean
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
isUndirected: Boolean
Reports true if this is the breed agentset for an undirected link breed
-
def
iterator: AgentIterator
- Definition Classes
- ArrayAgentSet → AgentSet
- val kind: AgentKind
- val printName: String
-
def
randomOne(precomputedCount: Int, random: Int): Agent
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
randomSubset(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): AgentSet
- Definition Classes
- AgentSet
-
def
randomSubsetGeneral(resultSize: Int, precomputedCount: Int, random: MersenneTwisterFast): Array[Agent]
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
randomTwo(precomputedCount: Int, smallRandom: Int, bigRandom: Int): Array[Agent]
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
setDirected(directed: Boolean): Unit
- Definition Classes
- AgentSet
-
def
shufflerator(rng: MersenneTwisterFast): AgentIterator
- Definition Classes
- ArrayAgentSet → AgentSet
-
def
toLogoList: LogoList
- Definition Classes
- ArrayAgentSet → AgentSet