|
|
|||||||||
| 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.Discrete
org.ascape.model.space.Graph
org.ascape.model.space.GraphSmallWorld
public class GraphSmallWorld
A 1D Small World version of the default Graph.
| 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.Discrete |
|---|
performanceWarning |
| Fields inherited from class org.ascape.model.space.CollectionSpace |
|---|
collection, ESTIMATED_MAXIMUM_SIZE, extent, geometry |
| Constructor Summary | |
|---|---|
GraphSmallWorld()
Constructs a one-dimensional small-world graph. |
|
GraphSmallWorld(CoordinateDiscrete extent)
Constructs a one-dimensional small-world graph. |
|
| Method Summary | |
|---|---|
double |
getRandomEdgeRatio()
Gets the random edge ratio. |
void |
initialize()
Initialize. |
void |
setRandomEdgeRatio(double randomEdgeRatio)
Sets the random edge ratio. |
| Methods inherited from class org.ascape.model.space.Graph |
|---|
add, addNeighbor, addNeighbor, addNeighborSafe, calculateNeighbors, clear, clearNeighbors, findCellAway, findCellToward, findNearest, findNeighbors, getAdjacencyMap, getNeighborsFor, isNeighbor, neighborIterator, remove, removeNeighbor, replaceNeighbor, setAdjacencyMap, setNeighborsFor, withinIterator |
| Methods inherited from class org.ascape.model.space.CollectionSpace |
|---|
add, addAll, calculateDistance, clone, conditionalIterator, conditionalIterator, construct, contains, containsAll, countWithin, createOrder, createSpatialConditional, deleteSweep, filter, find, findMaximum, findMaximum, findMaximumWithin, findMinimum, findMinimum, findMinimumWithin, findNearest, findRandom, findRandom, findRandom, findRandom, findRandomCoordinate, findRandomWithin, findWithin, get, getContext, getExtent, getGeometry, getRandom, hasWithin, isDeleteSweepNeeded, isEmpty, isMutable, isPeriodic, iterator, iteratorCount, iteratorToList, moveAway, moveToward, newLocation, newLocation, populate, randomInRange, randomInRange, randomIs, randomizeOrder, randomToLimit, removeAll, retainAll, safeIterator, safeIterator, safeIterators, safeRandomIterator, set, setContext, setExtent, setExtent, setGeometry, setPeriodic, setRandom, setSize, size, toArray, toArray, toList |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public GraphSmallWorld()
public GraphSmallWorld(CoordinateDiscrete extent)
extent - a coordinate describing the size of this space| Method Detail |
|---|
public void initialize()
Space
initialize in interface Spaceinitialize in class Graphpublic double getRandomEdgeRatio()
public void setRandomEdgeRatio(double randomEdgeRatio)
randomEdgeRatio - the new random edge ratio
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||