|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.layouts.LayersLayout
public class LayersLayout
Lay neurons out in successive layers. Assumes a complex network with subnetworks.
| Field Summary | |
|---|---|
static int |
HORIZONTAL
Lay neurons out horizontally. |
static int |
VERTICAL
Lay neurons out vertically. |
| Constructor Summary | |
|---|---|
LayersLayout(double hspacing,
double vspacing,
int layout)
Lay out a complex network into layers. |
|
| 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 |
| Field Detail |
|---|
public static final int VERTICAL
public static final int HORIZONTAL
| Constructor Detail |
|---|
public LayersLayout(double hspacing,
double vspacing,
int layout)
hspacing - vspacing - layout - | 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 | |||||||||