Uses of Interface
org.ascape.util.Conditional

Packages that use Conditional
org.ascape.model   
org.ascape.model.space   
org.ascape.util   
org.ascape.util.data   
 

Uses of Conditional in org.ascape.model
 

Fields in org.ascape.model declared as Conditional
static Conditional HostCell.IS_AVAILABLE
           
static Conditional HostCell.IS_OCCUPIED
           
 

Methods in org.ascape.model that return Conditional
protected static Conditional Cell.hostedCondition(Conditional condition)
           
 

Methods in org.ascape.model with parameters of type Conditional
 int Cell.countNeighbors(Conditional condition)
          Returns the number of cells that are neighbors and that meet the supplied condition.
 int LocatedAgent.countWithin(Conditional condition, boolean includeSelf, double distance)
          Returns the number of agents within the specified distance of the agent that meet some condition.
 int LocatedAgent.countWithin(Conditional condition, double distance)
          Returns the number of agents within the specified distance of the agent that meet some condition.
 int Scape.countWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns the number of agents within the specified distance of the agent that meet some condition.
 java.util.List Scape.find(Conditional condition)
          Find the maximum cell of some data point.
 LocatedAgent Scape.findMaximumWithin(Coordinate coordinate, DataPoint dataPoint, Conditional condition, boolean includeSelf, double distance)
           
 LocatedAgent Scape.findMinimumWithin(Coordinate coordinate, DataPoint dataPoint, Conditional condition, boolean includeSelf, double distance)
           
 LocatedAgent CellOccupant.findNearest(Conditional condition)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent LocatedAgent.findNearest(Conditional condition)
          Returns the closest agent that meet some condition.
 LocatedAgent CellOccupant.findNearest(Conditional condition, boolean includeSelf, double distance)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent LocatedAgent.findNearest(Conditional condition, boolean includeSelf, double distance)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent CellOccupant.findNearest(Conditional condition, double distance)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent LocatedAgent.findNearest(Conditional condition, double distance)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent Scape.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest agent that meets some condition.
 LocatedAgent HostCell.findNearestOccupants(Conditional condition)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent HostCell.findNearestOccupants(Conditional condition, boolean includeSelf, double distance)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 LocatedAgent HostCell.findNearestOccupants(Conditional condition, double distance)
          Returns the closest agent within the specified distance from this agent that meet some condition.
 java.util.List HostCell.findOccupantsWithin(Conditional condition, boolean includeSelf, double distance)
           
 java.util.List HostCell.findOccupantsWithin(Conditional condition, double distance)
           
 Agent Scape.findRandom(Conditional condition)
          Returns an agent randomly that matches a condition.
 java.util.List CellOccupant.findWithin(Conditional condition, boolean includeSelf, double distance)
          Returns all agents within the specified distance of the agent on the host scape.
 java.util.List LocatedAgent.findWithin(Conditional condition, boolean includeSelf, double distance)
          Returns all agents within the specified distance of the agent that meet some condition.
 java.util.List CellOccupant.findWithin(Conditional condition, double distance)
          Returns all agents within the specified distance of the agent on the host scape.
 java.util.List LocatedAgent.findWithin(Conditional condition, double distance)
          Returns all agents within the specified distance of the agent that meet some condition, excluding this agent.
 java.util.List Scape.findWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns all agents within the specified distance of the agent.
 java.util.List Cell.getNeighbors(Conditional condition)
          Returns the neighbors of the cell that meet the supplied condition.
 boolean LocatedAgent.hasWithin(Conditional condition, boolean includeSelf, double distance)
          Returns the number of agents within the specified distance of the agent that meet some condition.
 boolean LocatedAgent.hasWithin(Conditional condition, double distance)
          Returns the number of agents within the specified distance of the agent that meet some condition.
 boolean Scape.hasWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns if there are agents within the specified distance of the origin that meet some Condition.
protected static Conditional Cell.hostedCondition(Conditional condition)
           
 java.util.Iterator Scape.withinIterator(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns an iteration across all agents the specified distance from the origin.
 

Constructors in org.ascape.model with parameters of type Conditional
Scape.ConditionalIterator(java.util.Iterator iter, Conditional condition)
           
 

Uses of Conditional in org.ascape.model.space
 

Methods in org.ascape.model.space that return Conditional
protected  Conditional CollectionSpace.createSpatialConditional(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Creates the spatial conditional.
 

Methods in org.ascape.model.space with parameters of type Conditional
protected  java.util.Iterator Discrete.bfsWithinIterator(Location origin, Conditional condition, boolean includeSelf, double distance)
          This is the findWithin code from Graph.
protected  java.util.Iterator Array2DSmallWorld.bfsWithinIterator(Location origin, Conditional condition, boolean includeSelf, double distance)
           
 java.util.Iterator Space.conditionalIterator(Conditional condition)
          Conditional iterator.
 java.util.Iterator CollectionSpace.conditionalIterator(Conditional condition)
           
static java.util.Iterator CollectionSpace.conditionalIterator(java.util.Iterator iter, Conditional condition)
          Conditional iterator.
 int Space.countWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Count within.
 int CollectionSpace.countWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns the number of agents within the specified distance of the agent that meet some condition.
 int Array2D.countWithin(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
          Returns the number of cells within the supplied distance that meet the supplied condition.
protected  Conditional CollectionSpace.createSpatialConditional(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Creates the spatial conditional.
static java.util.List CollectionSpace.filter(java.util.Collection list, Conditional condition)
          Filter.
 java.util.List Space.find(Conditional condition)
          Find.
 java.util.List CollectionSpace.find(Conditional condition)
          Finds all locations with specified condition.
 Node[] Array2DBase.findCells(Conditional condition)
          Finds cells within the space that meet some condition.
 Node[] Array2DBase.findCells(Conditional condition, int _x, int _y, int width, int height)
          Finds cells within the specified space that meet some condition.
 Node ListBase.findFirstMatchInRank(Coordinate origin, Conditional condition, int rank)
          Returns a random element in the supplied rank that matches the supplied condition, null if no matches.
 Location Array2D.findFirstMatchInRank(Coordinate origin, Conditional condition, int rank)
          Returns the first element in the supplied rank that matches the supplied condition, null if no matches.
 Location Space.findMaximumWithin(Coordinate coordinate, DataPoint dataPoint, Conditional condition, boolean includeSelf, double distance)
          Find maximum within.
 Location CollectionSpace.findMaximumWithin(Coordinate coordinate, DataPoint dataPoint, Conditional condition, boolean includeSelf, double distance)
           
 Location Space.findMinimumWithin(Coordinate coordinate, DataPoint dataPoint, Conditional condition, boolean includeSelf, double distance)
          Find minimum within.
 Location CollectionSpace.findMinimumWithin(Coordinate coordinate, DataPoint dataPoint, Conditional condition, boolean includeSelf, double distance)
           
 Location Space.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Find nearest.
 Location Graph.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest agent that meets some condition.
 Location CollectionSpace.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest agent that meets some condition.
 Location Array2DSmallWorld.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest agent that meets some condition.
 Location Array2D.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest cell that meets some condition.
 Location Array.findNearest(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
          Finds the nearest cell that meets some condition.
 Location Space.findNearest(Location origin, Conditional condition, boolean includeOrigin, double distance)
           
 Location CollectionSpace.findNearest(Location origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest agent that meets some condition.
 Location Discrete.findNearestAvailable(Location origin, Conditional condition, boolean includeOrigin, double distance)
           
 Location Discrete.findNearestBFS(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Finds the nearest agent that meets some condition.
 int ListBase.findNearestMatchRank(Coordinate origin, Conditional condition, boolean includeOrigin)
          Returns the nearest rank that includes a cell which matches the supplied condition, -1 if no matches.
 int ListBase.findNearestMatchRank(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
          Returns the nearest rank that includes a cell which matches the supplied condition, -1 if no matches.
 int Array2DSmallWorld.findNearestMatchRank(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
           
 int Array2D.findNearestMatchRank(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
          Returns the nearest rank that includes a cell which matches the supplied condition, -1 if no matches.
abstract  int Array.findNearestMatchRank(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
          Returns the nearest rank that includes a cell which matches the supplied condition, -1 if no matches.
 Location Space.findRandom(Conditional condition)
          Find random.
 Location CollectionSpace.findRandom(Conditional condition)
          Returns an agent randomly that matches a condition.
 Location Space.findRandom(Location exclude, Conditional condition)
           
 Location CollectionSpace.findRandom(Location exclude, Conditional condition)
          Returns an agent randomly that matches a condition, excluding the coordinate.
 Node Discrete.findRandomAvailable(Conditional condition)
           
 Location Discrete.findRandomAvailable(Node origin, Conditional condition, boolean includeSelf, double distance)
           
 Location ListBase.findRandomMatchInRank(Coordinate origin, Conditional condition, int rank)
          Returns a random element in the supplied rank that matches the supplied condition, null if no matches.
 Location Array2DSmallWorld.findRandomMatchInRank(Coordinate origin, Conditional condition, int rank)
           
 Location Array2D.findRandomMatchInRank(Coordinate origin, Conditional condition, int rank)
          Returns a random element in the supplied rank that matches the supplied condition, null if no matches.
abstract  Location Array.findRandomMatchInRank(Coordinate origin, Conditional condition, int rank)
          Returns a random element in the supplied rank that matches the supplied condition, null if no matches.
 Location Discrete.findRandomNeighbor(Node location, Conditional condition)
           
 Location Space.findRandomWithin(Location origin, Conditional condition, boolean includeSelf, double distance)
           
 Location CollectionSpace.findRandomWithin(Location origin, Conditional condition, boolean includeSelf, double distance)
           
 java.util.List Space.findWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Find within.
 java.util.List CollectionSpace.findWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns all agents within the specified distance of the agent.
 java.util.List Array.findWithin(Coordinate origin, Conditional condition, boolean includeOrigin, double distance)
          Returns cells that are near the provided coordinate.
 boolean Space.hasWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Checks for within.
 boolean CollectionSpace.hasWithin(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns if there are agents within the specified distance of the origin that meet some Condition.
 boolean Array2D.hasWithin(Coordinate origin, Conditional condition, boolean includeOrigin, double maximumDistance)
          Returns true if there is a cell within the supplied distance that meets the supplied condition.
 java.util.Iterator Space.withinIterator(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Within iterator.
 java.util.Iterator Graph.withinIterator(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
           
 java.util.Iterator CollectionSpace.withinIterator(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
          Returns an iteration across all agents the specified distance from the origin.
 java.util.Iterator Array2DSmallWorld.withinIterator(Coordinate origin, Conditional condition, boolean includeSelf, double distance)
           
 

Constructors in org.ascape.model.space with parameters of type Conditional
BFSWithinIterator(Discrete space, Location origin, Conditional condition, boolean includeSelf, double distance)
          Instantiates a new BFS within iterator.
BFSWithinIterator2DSmallWorld(Discrete space, Location origin, Conditional condition, boolean includeSelf, double distance)
          Instantiates a new BFS within iterator2 D small world.
CollectionSpace.ConditionalIterator(java.util.Iterator iter, Conditional condition)
          Instantiates a new conditional iterator.
 

Uses of Conditional in org.ascape.util
 

Methods in org.ascape.util that return Conditional
static Conditional Conditionals.and(Conditional op1, Conditional op2)
          And.
static Conditional Conditionals.equal(java.lang.Object compare1)
          Equal.
static Conditional Conditionals.notEqual(java.lang.Object compare1)
          Not equal.
static Conditional Conditionals.or(Conditional op1, Conditional op2)
          Or.
 

Methods in org.ascape.util with parameters of type Conditional
static Conditional Conditionals.and(Conditional op1, Conditional op2)
          And.
static Conditional Conditionals.or(Conditional op1, Conditional op2)
          Or.
 

Uses of Conditional in org.ascape.util.data
 

Classes in org.ascape.util.data that implement Conditional
 class StatCollectorCond
          Collects and stores aggregate statistics on some data source for every specified measurement type of that source, and for each succesive measurement of that source, while that source meets some condition.
 class StatCollectorCondCSA
          Stores aggregate data for values conditionally obtained for a statistic, including running sum and average.
 class StatCollectorCondCSAMM
          Stores conditional aggregate data for values conditionally obtained for a statistic, including running sum, average, minimum and maximum.
 class StatCollectorCondCSAMMVar
          Stores conditional aggregate data for values conditionally obtained for a statistic, including running sum, average, minimum and maximum.
 



Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.