|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ascape.model.space.CollectionSpace
org.ascape.model.space.SubCollection
org.ascape.model.space.SubContinuous
org.ascape.model.space.SubContinuous1D
public class SubContinuous1D
User: jmiller Date: Feb 10, 2006 Time: 2:06:17 PM To change this template use Options | File Templates.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.ascape.model.space.CollectionSpace |
|---|
CollectionSpace.ClosestDataPoint, CollectionSpace.ConditionalIterator, CollectionSpace.CSIterator, CollectionSpace.CSMutableIterator, CollectionSpace.ListMutableRandomIterator, CollectionSpace.ListRandomIterator, CollectionSpace.MutableSubIterator, CollectionSpace.SubIterator |
| Field Summary |
|---|
| Fields inherited from class org.ascape.model.space.CollectionSpace |
|---|
collection, ESTIMATED_MAXIMUM_SIZE, extent, geometry |
| Constructor Summary | |
|---|---|
SubContinuous1D()
Constructs a sub-continuous space. |
|
SubContinuous1D(CoordinateDiscrete extent)
Constructs a sub-continuous space. |
|
| Method Summary | |
|---|---|
void |
populate()
Populates the space and its super collection with clones of the prototype agent. |
void |
setSuperSpace(Space superSpace)
Sets the super space for this sub collection, that is, the collection defined to contain a superset of this space's agents. |
| Methods inherited from class org.ascape.model.space.SubContinuous |
|---|
coordinateSweep, distancePerIteration, findRandomCoordinate, getExtent, getSize, normalize, setSize |
| Methods inherited from class org.ascape.model.space.SubCollection |
|---|
add, addAll, calculateDistance, clear, getSuperSpace, moveAway, moveToward, remove, removeAll, retainAll |
| Methods inherited from class org.ascape.model.space.CollectionSpace |
|---|
add, calculateDistance, clone, conditionalIterator, conditionalIterator, construct, contains, containsAll, countWithin, createOrder, createSpatialConditional, deleteSweep, filter, find, findMaximum, findMaximum, findMaximumWithin, findMinimum, findMinimum, findMinimumWithin, findNearest, findNearest, findRandom, findRandom, findRandom, findRandom, findRandomWithin, findWithin, get, getContext, getGeometry, getRandom, hasWithin, initialize, isDeleteSweepNeeded, isEmpty, isMutable, isPeriodic, iterator, iteratorCount, iteratorToList, newLocation, newLocation, randomInRange, randomInRange, randomIs, randomizeOrder, randomToLimit, safeIterator, safeIterator, safeIterators, safeRandomIterator, set, setContext, setExtent, setExtent, setGeometry, setPeriodic, setRandom, size, toArray, toArray, toList, withinIterator |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ascape.model.space.SubSpace |
|---|
getSuperSpace |
| Methods inherited from interface org.ascape.model.space.Continuous |
|---|
moveToward |
| Methods inherited from interface org.ascape.model.space.Mutable |
|---|
clear, deleteSweep, isDeleteSweepNeeded, newLocation, newLocation, remove |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public SubContinuous1D()
public SubContinuous1D(CoordinateDiscrete extent)
extent - a coordinate describing the size of this space| Method Detail |
|---|
public void populate()
SubCollection
populate in interface Spacepopulate in class SubCollectionpublic void setSuperSpace(Space superSpace)
setSuperSpace in interface SubSpacesetSuperSpace in class SubContinuoussuperSpace - the collection to assign as super set
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||