API V2.0

repast.simphony.relogo
[Groovy] Class AgentSet

java.lang.Object
  java.util.AbstractCollection
      java.util.AbstractList
          java.util.ArrayList
              repast.simphony.relogo.AbstractAgentSet
                  repast.simphony.relogo.AgentSet

class AgentSet
extends AbstractAgentSet


Constructor Summary
AgentSet()

AgentSet(Collection c)

 
Method Summary
boolean equals(AgentSet two)

AgentSet with(Closure cl)

AgentSet withMax(Closure reporter)

Reports a new agentset containing only those agents that have the maximum value of the given reporter.

AgentSet withMin(Closure reporter)

Reports a new agentset containing only those agents that have the minimum value of the given reporter.

 
Methods inherited from class AbstractAgentSet
askAgentSet
 
Methods inherited from class ArrayList
add, add, get, clone, indexOf, clear, isEmpty, lastIndexOf, contains, addAll, addAll, size, toArray, toArray, remove, remove, set, ensureCapacity, trimToSize, equals, hashCode, iterator, listIterator, listIterator, subList, toString, removeAll, containsAll, retainAll, wait, wait, wait, getClass, notify, notifyAll
 

Constructor Detail

AgentSet

AgentSet()


AgentSet

AgentSet(Collection c)


 
Method Detail

equals

boolean equals(AgentSet two)


with

AgentSet with(Closure cl)


withMax

AgentSet withMax(Closure reporter)
Reports a new agentset containing only those agents that have the maximum value of the given reporter.


withMin

AgentSet withMin(Closure reporter)
Reports a new agentset containing only those agents that have the minimum value of the given reporter.


 

ReLogo API V2.0