|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.layouts.GridLayout
public class GridLayout
Lay neurons out in a line.
| Constructor Summary | |
|---|---|
GridLayout(double hSpacing,
double vSpacing,
int numColumns)
Create a layout. |
|
| Method Summary | |
|---|---|
String |
getLayoutName()
|
void |
layoutNeurons(Network network)
Perform the layout. |
void |
setInitialLocation(Point2D initialPoint)
Set the initial position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridLayout(double hSpacing,
double vSpacing,
int numColumns)
hSpacing - horizontal spacing between neuronsvSpacing - vertical spacing between neuronsnumColumns - number of columns of neurons| Method Detail |
|---|
public void layoutNeurons(Network network)
Layout
layoutNeurons in interface Layoutnetwork - reference to network whose nodes should be laid outLayoutpublic void setInitialLocation(Point2D initialPoint)
Layout
setInitialLocation in interface LayoutinitialPoint - initial positionLayoutpublic String getLayoutName()
getLayoutName in interface LayoutLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||