jist.swans.field
Interface Placement

All Known Implementing Classes:
FlightDrop.FlightDropPlacement, Placement.Grid, Placement.Random, PlacementList

public interface Placement

Interface of all initial placement models.

Since:
SWANS1.0

Nested Class Summary
static class Placement.Grid
          Placement along a regular grid.
static class Placement.Random
          Random (uniform) placement.
 
Field Summary
static int UNBOUNDED
           
 
Method Summary
 Location getNextLocation()
          Return location of next node.
 int getSize()
           
 

Field Detail

UNBOUNDED

static final int UNBOUNDED
See Also:
Constant Field Values
Method Detail

getNextLocation

Location getNextLocation()
Return location of next node.

Returns:
location of next node

getSize

int getSize()
Returns:
number of nodes, if known apriori. If not known, return UNBOUNDED