class TreeAgentSet extends AgentSet
- Source
- TreeAgentSet.scala
- Alphabetic
- By Inheritance
- TreeAgentSet
- AgentSet
- AgentSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(agent: Agent): Unit
It is the caller's responsibility not to add an agent that is already in the set.
-
val
agentBit: Byte
- Definition Classes
- AgentSet
-
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
- TreeAgentSet → AgentSet → AgentSet
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkCount(checkValue: Int, check: (Int, Int) ⇒ Boolean): Boolean
- Definition Classes
- TreeAgentSet → AgentSet
- def clear(): Unit
-
def
clearDirected(): Unit
- Definition Classes
- AgentSet
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
contains(agent: api.Agent): Boolean
- Definition Classes
- TreeAgentSet → AgentSet
-
def
containsSameAgents(otherSet: api.AgentSet): Boolean
- Definition Classes
- TreeAgentSet → AgentSet
-
def
count: Int
Returns the number of agents in the set.
Returns the number of agents in the set.
- Definition Classes
- TreeAgentSet → AgentSet
-
var
directed: Directedness
- Definition Classes
- AgentSet
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equalAgentSets(otherSet: api.AgentSet): Boolean
Reports true if this AgentSet and the given AgentSet have the exact same agents
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def getAgent(id: AnyRef): Agent
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
- TreeAgentSet → AgentSet
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isUndirected: Boolean
Reports true if this is the breed agentset for an undirected link breed
-
def
iterator: AgentIterator
- Definition Classes
- TreeAgentSet → AgentSet
-
val
kind: AgentKind
Returns the type of agents in the AgentSet.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
def
randomOne(precomputedCount: Int, random: Int): Agent
- Definition Classes
- TreeAgentSet → AgentSet
-
def
randomSubset(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): AgentSet
- Definition Classes
- AgentSet
-
def
randomSubsetGeneral(resultSize: Int, precomputedCount: Int, rng: MersenneTwisterFast): Array[Agent]
- Definition Classes
- TreeAgentSet → AgentSet
-
def
randomTwo(precomputedCount: Int, smallRandom: Int, bigRandom: Int): Array[Agent]
- Definition Classes
- TreeAgentSet → AgentSet
- def remove(key: AnyRef): Unit
-
def
setDirected(directed: Boolean): Unit
- Definition Classes
- AgentSet
-
def
shufflerator(rng: MersenneTwisterFast): AgentIterator
- Definition Classes
- TreeAgentSet → AgentSet
- val simpleChangeEventPublisher: SimpleChangeEventPublisher
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLogoList: LogoList
- Definition Classes
- TreeAgentSet → AgentSet
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )