|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjist.swans.field.Placement.Random
public static class Placement.Random
Random (uniform) placement.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jist.swans.field.Placement |
|---|
Placement.Grid, Placement.Random |
| Field Summary |
|---|
| Fields inherited from interface jist.swans.field.Placement |
|---|
UNBOUNDED |
| Constructor Summary | |
|---|---|
Placement.Random(float x,
float y)
Initialize random placement model. |
|
Placement.Random(Location loc)
Initialize random placement. |
|
Placement.Random(java.lang.String field)
Initialize random placement. |
|
| Method Summary | |
|---|---|
Location |
getNextLocation()
Return location of next node. |
int |
getSize()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Placement.Random(float x,
float y)
x - x-axis upper limity - y-axis upper limitpublic Placement.Random(Location loc)
loc - upper limit coordinatepublic Placement.Random(java.lang.String field)
field - field dimensions string| Method Detail |
|---|
public int getSize()
getSize in interface Placementpublic Location getNextLocation()
getNextLocation in interface Placement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||